Disable Sleep (for SSH)

master
David Crompton 2023-10-19 10:05:26 -04:00
parent 312e002f9a
commit 7bfcf34132
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;
}