mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 04:08:12 +09:00
add systems
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
powertop.enable = true;
|
||||
};
|
||||
|
||||
services.power-profiles-daemon.enable = true;
|
||||
services.tlp.enable = false;
|
||||
services.upower.enable = true;
|
||||
services.logind.settings.Login = {
|
||||
HandleLidSwitch = "suspend";
|
||||
HandleLidSwitchDocked = "ignore";
|
||||
HandleLidSwitchExternalPower = "suspend";
|
||||
LidSwitchIgnoreInhibited = "no";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user