diff --git a/odin/hardware-configuration.nix b/odin/hardware-configuration.nix index 3fa98cb..6db6dc5 100644 --- a/odin/hardware-configuration.nix +++ b/odin/hardware-configuration.nix @@ -105,7 +105,10 @@ }; swapDevices = - [{ device = "/dev/disk/by-uuid/5f3cf424-2bd8-4352-a778-1bb067cb5700"; }]; + [ + { device = "/dev/disk/by-uuid/5f3cf424-2bd8-4352-a778-1bb067cb5700"; } + { device = "/swapfile"; size = 1024 * 32; } + ]; # 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