added zramSwap.enable = true;

set tmp to use ram
This commit is contained in:
2024-09-15 14:06:59 -04:00
parent e94d4cc685
commit 334c30709a

View File

@@ -18,7 +18,12 @@
./ssh.nix ./ssh.nix
]; ];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot = {
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
tmp.useTmpfs = true;
};
zramSwap.enable = true;
security.auditd.enable = lib.mkDefault true; security.auditd.enable = lib.mkDefault true;