add kernel parameter for better suspend
This commit is contained in:
parent
7e7be20baa
commit
e4b3b50657
|
@ -12,6 +12,10 @@
|
||||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
boot.kernelParams = [
|
||||||
|
"mem_sleep_default=deep"
|
||||||
|
]
|
||||||
|
|
||||||
boot.initrd.luks.devices."cryptlvm".device = "/dev/sda2";
|
boot.initrd.luks.devices."cryptlvm".device = "/dev/sda2";
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-label/nixos";
|
{ device = "/dev/disk/by-label/nixos";
|
||||||
|
|
Loading…
Reference in New Issue