From 4b51977988a428abf41f5d4fbc035b62d7c6c2dc Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Tue, 15 Oct 2024 15:47:44 -0700 Subject: Add missing argument --- hosts/arrakis/hardware-configuration.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'hosts') 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]; } -- cgit v1.2.3