Disable Sleep (for SSH)
parent
312e002f9a
commit
7bfcf34132
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue