aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-15 15:47:44 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-15 15:47:44 -0700
commit4b51977988a428abf41f5d4fbc035b62d7c6c2dc (patch)
tree0270102b7dcc6599947cad1641290c0d06202859
parent6e4f65b6d2accdd2657ba28090d8fc2b1047b612 (diff)
downloadnix-4b51977988a428abf41f5d4fbc035b62d7c6c2dc.tar
nix-4b51977988a428abf41f5d4fbc035b62d7c6c2dc.tar.gz
nix-4b51977988a428abf41f5d4fbc035b62d7c6c2dc.tar.bz2
nix-4b51977988a428abf41f5d4fbc035b62d7c6c2dc.tar.lz
nix-4b51977988a428abf41f5d4fbc035b62d7c6c2dc.tar.xz
nix-4b51977988a428abf41f5d4fbc035b62d7c6c2dc.tar.zst
nix-4b51977988a428abf41f5d4fbc035b62d7c6c2dc.zip
Add missing argument
Diffstat (limited to '')
-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];
}