aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-21 00:54:00 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-21 00:54:00 -0700
commit592f267b41f5550d6713c0724c018842efe54b22 (patch)
tree026566eb7581c4a59cb7cfb207143aa1fca220a9
parent3d1b934eb399469651342b5b0d61f90ef2616507 (diff)
downloadnix-592f267b41f5550d6713c0724c018842efe54b22.tar
nix-592f267b41f5550d6713c0724c018842efe54b22.tar.gz
nix-592f267b41f5550d6713c0724c018842efe54b22.tar.bz2
nix-592f267b41f5550d6713c0724c018842efe54b22.tar.lz
nix-592f267b41f5550d6713c0724c018842efe54b22.tar.xz
nix-592f267b41f5550d6713c0724c018842efe54b22.tar.zst
nix-592f267b41f5550d6713c0724c018842efe54b22.zip
Add nVidia patches
-rw-r--r--flake.nix1
-rw-r--r--hosts/arrakis/hardware-configuration.nix4
2 files changed, 2 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 6e60da4..1f4435c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -63,6 +63,7 @@
home-manager.users.nipsy = import ./home/nipsy/arrakis.nix;
}
sops-nix.nixosModules.sops
+ { nixpkgs.overlays = [ inputs.nvidia-patch.overlays.default ]; }
];
};
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix
index 67c3ee1..e1b7dc0 100644
--- a/hosts/arrakis/hardware-configuration.nix
+++ b/hosts/arrakis/hardware-configuration.nix
@@ -1,7 +1,7 @@
# 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, nvidia-patch, pkgs, modulesPath, ... }:
+{ config, lib, pkgs, modulesPath, ... }:
{
imports =
@@ -88,8 +88,6 @@
{ device = "/dev/disk/by-label/swap2"; }
];
- nixpkgs.overlays = [inputs.nvidia-patch.overlays.default];
-
hardware = {
bluetooth.enable = true;
graphics = {