diff --git a/hosts/nixos/default.nix b/hosts/nixos/default.nix index b59ef11..ea75931 100644 --- a/hosts/nixos/default.nix +++ b/hosts/nixos/default.nix @@ -34,13 +34,6 @@ # allow proprietary packages nixpkgs.config.allowUnfree = true; - # fix power buttons - services.logind.settings.Login = { - HandlePowerKey = "suspend"; - HandleLidSwitch = "suspend"; - #HibernateDelaySec = "30min"; - }; - # power management services.autoaspm.enable = true; powerManagement.powertop.enable = true; diff --git a/hosts/nixos/yveltal/configuration.nix b/hosts/nixos/yveltal/configuration.nix index aa6f410..ce33704 100644 --- a/hosts/nixos/yveltal/configuration.nix +++ b/hosts/nixos/yveltal/configuration.nix @@ -22,6 +22,12 @@ tailscale.enable = true; }; + # fix power buttons + services.logind.settings.Login = { + HandlePowerKey = "suspend"; + HandleLidSwitch = "suspend"; + #HibernateDelaySec = "30min"; + }; # boot (systemd is going on me) boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know