feat: power management settings
This commit is contained in:
parent
8317113c6b
commit
61530cc513
2 changed files with 8 additions and 4 deletions
|
@ -176,11 +176,11 @@ with lib.hm.gvariant;
|
|||
};
|
||||
|
||||
"org/gnome/settings-daemon/plugins/power" = {
|
||||
idle-dim = false;
|
||||
power-button-action = "hibernate";
|
||||
idle-dim = true;
|
||||
power-button-action = "interactive";
|
||||
power-saver-profile-on-low-battery = true;
|
||||
sleep-inactive-ac-type = "nothing";
|
||||
sleep-inactive-battery-timeout = 3600;
|
||||
sleep-inactive-ac-type = "blank";
|
||||
sleep-inactive-battery-timeout = 600;
|
||||
sleep-inactive-battery-type = "suspend";
|
||||
};
|
||||
|
||||
|
|
|
@ -143,6 +143,10 @@ in
|
|||
systemd.services.modem-manager.enable = lib.mkForce false;
|
||||
systemd.services."dbus-org.freedesktop.ModemManager1".enable = lib.mkForce false;
|
||||
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=1h
|
||||
'';
|
||||
|
||||
services.udev.packages = [ xilinxJtag saleaeLogic keychron ]; #noMtpUdevRules ];
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue