diff --git a/hosts/saberofxebec/configuration.nix b/hosts/saberofxebec/configuration.nix index c651683..ef4d01b 100644 --- a/hosts/saberofxebec/configuration.nix +++ b/hosts/saberofxebec/configuration.nix @@ -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"];