Add Thunderbird, cut down on swap usage to make hibernation more reliable

This commit is contained in:
Ghostfox
2026-04-19 03:32:14 +02:00
parent c1e1488212
commit 94c6739530
10 changed files with 101 additions and 30 deletions

View File

@@ -11,6 +11,7 @@
./locale.nix
./nix.nix
./packages.nix
./sleep.nix
./user.nix
];

13
modules/base/sleep.nix Normal file
View File

@@ -0,0 +1,13 @@
{
systemd.sleep.settings.Sleep = {
# AllowSuspend = "no";
AllowHybridSleep = "no";
AllowSuspendThenHibernate = "no";
HibernationMode = "shutdown";
};
boot.kernelParams = [
"vm.swappiness=30"
"hibernate.compressor=lz4"
];
}