diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 0afc4ac..8535bee 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -47,6 +47,14 @@ }; }; + # Configure suspend behavior + systemd.sleep.extraConfig = '' + AllowSuspend=no + AllowHybernation=no + AllowHybridSleep=no + AllowSuspendThenHibernate=no + ''; + networking.hostName = "alienware"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.