diff options
Diffstat (limited to 'hosts/arrakis/hardware-configuration.nix')
-rw-r--r-- | hosts/arrakis/hardware-configuration.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index ed9b51e..0fb45a5 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -83,6 +83,8 @@ ]; }; + nixpkgs.overlays = [inputs.nvidia-patch.overlays.default]; + swapDevices = [ { device = "/dev/disk/by-label/swap1"; } { device = "/dev/disk/by-label/swap2"; } @@ -98,7 +100,7 @@ nvidia = { modesetting.enable = true; open = true; - package = config.boot.kernelPackages.nvidiaPackages.beta; + package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc config.boot.kernelPackages.nvidiaPackages.beta); }; }; } |