diff options
Diffstat (limited to 'machines/lapin/devices.nix')
| -rw-r--r-- | machines/lapin/devices.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/machines/lapin/devices.nix b/machines/lapin/devices.nix index 4fc9610..ccf7d75 100644 --- a/machines/lapin/devices.nix +++ b/machines/lapin/devices.nix @@ -6,6 +6,15 @@ kernelModules = [ "wireguard" ]; }; + # testing with replacing swap partitions + # and files in lieu of zram. + zramSwap = { + enable = true; + algorithm = "zstd"; + swapDevices = 1; + memoryPercent = 50; + }; + networking = { # Network configuration is managed with networkd. useDHCP = false; |
