diff --git a/hosts/rainbow.nix b/hosts/rainbow.nix index 9778c9f..c5f3ab5 100644 --- a/hosts/rainbow.nix +++ b/hosts/rainbow.nix @@ -38,7 +38,10 @@ options = [ "subvol=@swap" ]; }; - swapDevices = [ ]; + swapDevices = [{ + device = "/swap/swapfile"; + size = (1024 * 4); # RAM size + 2 GB + }]; # 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