Move global lidSwitchDocked setting to nunotaba

This commit is contained in:
Simon Bruder 2021-01-20 16:27:51 +01:00
parent c1283b6ffa
commit 64ef37badd
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 4 additions and 2 deletions

View file

@ -40,4 +40,8 @@
]; ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; 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;
} }

View file

@ -10,6 +10,4 @@ lib.mkIf config.sbruder.gui.enable {
# steam (and other high quality software) still ships 32 bit binaries # steam (and other high quality software) still ships 32 bit binaries
hardware.opengl.driSupport32Bit = lib.mkIf pkgs.stdenv.isx86_64 true; hardware.opengl.driSupport32Bit = lib.mkIf pkgs.stdenv.isx86_64 true;
services.logind.lidSwitchDocked = config.services.logind.lidSwitch;
} }