diff --git a/hosts/pinwheel/hardware-configuration.nix b/hosts/pinwheel/hardware-configuration.nix index 71c2631..eaf6cc4 100644 --- a/hosts/pinwheel/hardware-configuration.nix +++ b/hosts/pinwheel/hardware-configuration.nix @@ -36,7 +36,12 @@ fsType = "vfat"; }; - swapDevices = [ ]; + swapDevices = [ + { + device = "/swapfile"; + size = 24 * 1024; # 24GB + } + ]; # 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