diff --git a/hosts/leonard/hardware-configuration.nix b/hosts/leonard/hardware-configuration.nix index 4847b2f..79278a2 100644 --- a/hosts/leonard/hardware-configuration.nix +++ b/hosts/leonard/hardware-configuration.nix @@ -15,7 +15,10 @@ fsType = "ext4"; }; - swapDevices = [ ]; # TODO + swapDevices = [ { + device = "/swapfile"; + size = 4*1024; + } ]; networking.useDHCP = lib.mkDefault false; # networking.interfaces.ens18.useDHCP = lib.mkDefault true;