diff options
| -rw-r--r-- | machines/lapin/devices.nix | 9 | ||||
| -rw-r--r-- | machines/lapin/hardware.nix | 4 |
2 files changed, 10 insertions, 3 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; diff --git a/machines/lapin/hardware.nix b/machines/lapin/hardware.nix index b33eb26..08cf82e 100644 --- a/machines/lapin/hardware.nix +++ b/machines/lapin/hardware.nix @@ -23,9 +23,7 @@ fsType = "vfat"; }; - swapDevices = - [ { device = "/dev/disk/by-uuid/15e0485e-dff2-4eb5-9a4d-12c69baa3db1"; } - ]; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's |
