This commit is contained in:
2022-05-26 18:58:01 +01:00
parent 631b1da7ef
commit 2bcab09f02

View File

@@ -43,8 +43,16 @@
tapping = true; tapping = true;
}; };
}; };
logind = {
lidSwitch = "suspend-then-hibernate";
};
}; };
systemd.sleep.extraConfig = ''
HibernameDelaySec=3600
'';
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave