diff options
Diffstat (limited to 'system/settings')
-rw-r--r-- | system/settings/hardware/bare-metal.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/settings/hardware/bare-metal.nix b/system/settings/hardware/bare-metal.nix index 7d995934..a60524c7 100644 --- a/system/settings/hardware/bare-metal.nix +++ b/system/settings/hardware/bare-metal.nix @@ -10,6 +10,12 @@ usbutils ]; + services.logind = { + extraConfig = '' + IdleAction=suspend + IdleActionSec=1800 + ''; + }; services.udev.extraRules = '' # set scheduler for NVMe ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none" |