Disable Sleep (for SSH)

David Crompton 2023-10-19 10:05:26 -04:00
parent 9dd2a2f26e
commit 90ab2fd716
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,8 @@
./packages.nix
# Set of Users on This System
./users.nix
# Disable sleep (so SSH remains accessible)
./nosleep.nix
];
# Support NTFS(3g)

View File

@ -0,0 +1,6 @@
{ ... }: {
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
}