diff --git a/nixos/lavender/hardware-configuration.nix b/nixos/lavender/hardware-configuration.nix index 10db576..ce5397f 100644 --- a/nixos/lavender/hardware-configuration.nix +++ b/nixos/lavender/hardware-configuration.nix @@ -23,7 +23,10 @@ fsType = "ext4"; }; - swapDevices = [ ]; + swapDevices = [{ + device = "/var/lib/swapfile"; + size = 2048; + }]; # 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