diff --git a/hosts/morn/hardware-configuration.nix b/hosts/morn/hardware-configuration.nix index 6d8218e..19d0d7f 100644 --- a/hosts/morn/hardware-configuration.nix +++ b/hosts/morn/hardware-configuration.nix @@ -24,7 +24,10 @@ options = [ "fmask=0077" "dmask=0077" ]; }; - 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