hosts: enable zramswap
This commit is contained in:
parent
e44ba26ccb
commit
ede4232f28
@ -22,6 +22,7 @@
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.tmpOnTmpfs = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
|
@ -23,6 +23,7 @@
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.kernelParams = [ "mitigations=off" "luks.options=fido2-device=auto" ];
|
||||
boot.tmpOnTmpfs = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
boot.initrd.luks = {
|
||||
fido2Support = true;
|
||||
|
@ -22,6 +22,7 @@
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.tmpOnTmpfs = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
|
Loading…
Reference in New Issue
Block a user