diff --git a/hosts/harbor/hardware-configuration.nix b/hosts/harbor/hardware-configuration.nix index 809e0f7..f8bf724 100644 --- a/hosts/harbor/hardware-configuration.nix +++ b/hosts/harbor/hardware-configuration.nix @@ -28,7 +28,12 @@ options = ["fmask=0022" "dmask=0022"]; }; - swapDevices = []; + swapDevices = [ + { + device = "/.swapfile"; + size = 2 * 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