diff --git a/hosts/monolith/hardware-configuration.nix b/hosts/monolith/hardware-configuration.nix index 704b97b..20f7a24 100644 --- a/hosts/monolith/hardware-configuration.nix +++ b/hosts/monolith/hardware-configuration.nix @@ -28,7 +28,12 @@ options = ["fmask=0022" "dmask=0022"]; }; - swapDevices = []; + swapDevices = [ + { + device = "/.swapfile"; + size = 4 * 1024; + } + ]; # 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