diff --git a/machines/nunotaba/hardware-configuration.nix b/machines/nunotaba/hardware-configuration.nix index b4728a0..9c12924 100644 --- a/machines/nunotaba/hardware-configuration.nix +++ b/machines/nunotaba/hardware-configuration.nix @@ -40,4 +40,8 @@ ]; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; + + # Most of the time I want to use both screens at the same time and suspend it + # regularily by closing the lid + services.logind.lidSwitchDocked = config.services.logind.lidSwitch; } diff --git a/modules/gui.nix b/modules/gui.nix index 08a71f1..8c15987 100644 --- a/modules/gui.nix +++ b/modules/gui.nix @@ -10,6 +10,4 @@ lib.mkIf config.sbruder.gui.enable { # steam (and other high quality software) still ships 32 bit binaries hardware.opengl.driSupport32Bit = lib.mkIf pkgs.stdenv.isx86_64 true; - - services.logind.lidSwitchDocked = config.services.logind.lidSwitch; }