diff options
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/bismuth/devices.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/machines/bismuth/devices.nix b/machines/bismuth/devices.nix index ff28761..cf17a89 100644 --- a/machines/bismuth/devices.nix +++ b/machines/bismuth/devices.nix @@ -21,11 +21,14 @@ ]; }; - # swap - swapDevices = [{ - device = "/var/swapfile"; - size = 8 * 1024; - }]; + # testing with replacing swap partitions and files + # and files in lieu of zram. + zramSwap = { + enable = true; + algorithm = "zstd"; + swapDevices = 1; + memoryPercent = 25; # 50% would just be too big for bismuth. + }; # internet networking.networkmanager.enable = true; |
