aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/arrakis/hardware-configuration.nix')
-rw-r--r--hosts/arrakis/hardware-configuration.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix
index 4e67e65..c120bd2 100644
--- a/hosts/arrakis/hardware-configuration.nix
+++ b/hosts/arrakis/hardware-configuration.nix
@@ -55,10 +55,12 @@
hardware = {
bluetooth.enable = true;
- nvidia = {
+ nvidia = let package = config.boot.kernelPackages.nvidiaPackages.beta; in {
modesetting.enable = true;
open = true;
- package = config.boot.kernelPackages.nvidiaPackages.beta;
+ package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc package);
};
};
+
+ nixpkgs.overlays = [inputs.nvidia-patch.overlays.default];
}