anemone/kernel: disable swapfile and hibernation

This commit is contained in:
Cilly Leang 2026-01-29 00:37:01 +11:00
parent 4bd188cc64
commit 57afed24ed
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -23,14 +23,14 @@
]; ];
}; };
swapDevices = [{ # swapDevices = [{
device = "/persist/swapfile"; # device = "/persist/swapfile";
size = 16 * 1024; # size = 16 * 1024;
}]; # }];
#
systemd.sleep.extraConfig = '' # systemd.sleep.extraConfig = ''
HibernateMode=shutdown # HibernateMode=shutdown
''; # '';
/* /*
services.logind.lidSwitch = "suspend-then-hibernate"; services.logind.lidSwitch = "suspend-then-hibernate";
systemd.sleep.extraConfig = '' systemd.sleep.extraConfig = ''