diff options
| -rw-r--r-- | hosts/laptop-nixos/hardware-configuration.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/laptop-nixos/hardware-configuration.nix b/hosts/laptop-nixos/hardware-configuration.nix index f8cb10a..ac755f7 100644 --- a/hosts/laptop-nixos/hardware-configuration.nix +++ b/hosts/laptop-nixos/hardware-configuration.nix @@ -24,7 +24,10 @@ options = [ "fmask=0077" "dmask=0077" ]; }; - swapDevices = [ ]; + swapDevices = [ { + device = "/var/lib/swapfile"; + size = 16*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 |
