diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-21 00:44:19 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-21 00:44:19 -0700 |
commit | 0d283994da8171621f22a171af823e066e64e904 (patch) | |
tree | 0ad5b001070bf9c03c7fe882e00da16bbe061518 /hosts/arrakis | |
parent | 26cc396a71603aa2332ae6f8db118c993613a726 (diff) | |
download | nix-0d283994da8171621f22a171af823e066e64e904.tar nix-0d283994da8171621f22a171af823e066e64e904.tar.gz nix-0d283994da8171621f22a171af823e066e64e904.tar.bz2 nix-0d283994da8171621f22a171af823e066e64e904.tar.lz nix-0d283994da8171621f22a171af823e066e64e904.tar.xz nix-0d283994da8171621f22a171af823e066e64e904.tar.zst nix-0d283994da8171621f22a171af823e066e64e904.zip |
Add nVidia patches
Diffstat (limited to 'hosts/arrakis')
-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); }; }; } |