Move global lidSwitchDocked setting to nunotaba
This commit is contained in:
parent
c1283b6ffa
commit
64ef37badd
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue