diff --git a/hosts/inspiron/hardware.nix b/hosts/inspiron/hardware.nix index 1ff4ca9..1f35463 100644 --- a/hosts/inspiron/hardware.nix +++ b/hosts/inspiron/hardware.nix @@ -23,4 +23,6 @@ boot.kernelModules = [ "kvm-amd" ]; nixpkgs.hostPlatform = "x86_64-linux"; hardware.cpu.amd.updateMicrocode = true; + + zramSwap.enable = true; } diff --git a/hosts/north/hardware.nix b/hosts/north/hardware.nix index 4512c0d..c44c612 100644 --- a/hosts/north/hardware.nix +++ b/hosts/north/hardware.nix @@ -28,6 +28,8 @@ nixpkgs.hostPlatform = "x86_64-linux"; hardware.cpu.amd.updateMicrocode = true; + zramSwap.enable = true; + services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = { modesetting.enable = true;