Add Thunderbird, cut down on swap usage to make hibernation more reliable
This commit is contained in:
13
modules/base/sleep.nix
Normal file
13
modules/base/sleep.nix
Normal 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"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user