feat: hibernate no

This commit is contained in:
s-prechtl 2025-03-31 18:44:58 +02:00
parent caf134fad4
commit 3d64f866ca

View file

@ -51,6 +51,12 @@
};
};
services.logind.lidSwitchExternalPower = "ignore";
systemd.sleep.extraConfig = ''
AllowSuspend=no
AllowHibernation=no
AllowHybridSleep=no
AllowSuspendThenHibernate=no
'';
nix.settings.experimental-features = ["nix-command" "flakes"];