hibernation after 1h of sleep
This commit is contained in:
parent
595e4ceace
commit
3fb0ac4e5d
1 changed files with 6 additions and 2 deletions
|
|
@ -6,7 +6,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
services.logind.settings.Login.LidSwitch = "suspend-then-hibernate";
|
||||||
|
systemd.sleep.settings.Sleep = {
|
||||||
|
HibernateDelaySec = "1h";
|
||||||
|
SuspendState = "mem";
|
||||||
|
};
|
||||||
boot.resumeDevice = "/dev/disk/by-label/swap";
|
boot.resumeDevice = "/dev/disk/by-label/swap";
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.limine = {
|
boot.loader.limine = {
|
||||||
|
|
@ -85,7 +89,7 @@
|
||||||
XCURSOR_THEME = "macOS";
|
XCURSOR_THEME = "macOS";
|
||||||
XCURSOR_SIZE = "24";
|
XCURSOR_SIZE = "24";
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
|
|
||||||
};
|
};
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue