Disable Sleep (for SSH)
parent
9dd2a2f26e
commit
90ab2fd716
|
@ -16,6 +16,8 @@
|
||||||
./packages.nix
|
./packages.nix
|
||||||
# Set of Users on This System
|
# Set of Users on This System
|
||||||
./users.nix
|
./users.nix
|
||||||
|
# Disable sleep (so SSH remains accessible)
|
||||||
|
./nosleep.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Support NTFS(3g)
|
# 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