Change sleep settings

This commit is contained in:
k 2025-01-10 18:14:48 -05:00
parent bba9c8494e
commit ca7c336ff9

View File

@ -75,6 +75,10 @@
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
};
};
logind = {
lidSwitch = "suspend-then-hibernate";
lidSwitchExternalPower = "suspend";
}
blueman.enable = true;
fwupd.enable = true;
printing.enable = true;
@ -165,6 +169,11 @@
];
};
systemd.sleep.extraConfig = ''
HibernateDelaySec=30m
SuspendState=mem
'';
boot = {
plymouth = {enable = true;};