feat: synchronize, hibernate

This commit is contained in:
Kat Inskip 2025-10-22 15:31:51 -07:00
parent 6bb963d9ad
commit a4b63004fb
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
18 changed files with 48 additions and 110 deletions

View file

@ -1,15 +1,13 @@
{pkgs, ...}: {
fonts = {
packages = with pkgs; [
font-awesome
noto-fonts-cjk-sans
twitter-color-emoji
iosevka-bin
monaspace
corefonts
vistafonts
open-dyslexic
ubuntu-sans
monaspace
jost
];
enableDefaultPackages = true;

View file

@ -1,2 +0,0 @@
_: {
}

View file

@ -0,0 +1,12 @@
_: {
systemd.sleep.extraConfig = ''
HibernateDelaySec=30m
SuspendState=mem
'';
boot.kernelParams = ["mem_sleep_default=deep"];
services.logind = {
powerKey = "hibernate";
powerKeyLongPress = "poweroff";
lidSwitch = "suspend-then-hibernate";
};
}

View file

@ -0,0 +1,3 @@
_: {
services.power-profiles-daemon.enable = true;
}