Enable zram
otherwise, cryptsetup gets OOM killed when adding a new key
This commit is contained in:
parent
099f0df913
commit
24fe88e338
1 changed files with 7 additions and 0 deletions
|
|
@ -205,5 +205,12 @@ with lib; {
|
|||
options.zfs.fsname = "rpool/nixos/podman";
|
||||
};
|
||||
};
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 60;
|
||||
priority = 1;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue