aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/arrakis')
-rw-r--r--hosts/arrakis/hardware-configuration.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix
index b926154..4dd60b8 100644
--- a/hosts/arrakis/hardware-configuration.nix
+++ b/hosts/arrakis/hardware-configuration.nix
@@ -1,7 +1,4 @@
-# Do not modify this file! It was generated by ‘nixos-generate-config’
-# and may be overwritten by future invocations. Please make changes
-# to /etc/nixos/configuration.nix instead.
-{ config, inputs, lib, pkgs, modulesPath, ... }:
+{ config, inputs, lib, nvidia-patch, pkgs, modulesPath, ... }:
{
imports =
@@ -53,6 +50,8 @@
{ device = "/dev/disk/by-label/swap2"; }
];
+ nixpkgs.overlays = [ inputs.nvidia-patch.overlays.default ];
+
hardware = {
bluetooth.enable = true;
nvidia = let package = config.boot.kernelPackages.nvidiaPackages.beta; in {
@@ -61,6 +60,4 @@
package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc package);
};
};
-
- nixpkgs.overlays = [inputs.nvidia-patch.overlays.default];
}