diff --git a/configuration.nix b/configuration.nix index aec9ce4..b7a53b7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,7 +4,6 @@ imports = [ ./hardware-configuration.nix - ./work.nix ]; # Latest kernel @@ -29,6 +28,11 @@ options = "--delete-older-than 1w"; }; + swapDevices = [ { + device = "/var/lib/swapfile"; + size = 16*1024; + } ]; + zramSwap.enable = true; networking.networkmanager.enable = true;