aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-15 16:23:30 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-15 16:23:30 -0700
commit2d1177d41bea495d021f7048ffd49eb31aab1fa1 (patch)
tree924415008baa4125921009070b044ef07c609b73
parent4b51977988a428abf41f5d4fbc035b62d7c6c2dc (diff)
downloadnix-2d1177d41bea495d021f7048ffd49eb31aab1fa1.tar
nix-2d1177d41bea495d021f7048ffd49eb31aab1fa1.tar.gz
nix-2d1177d41bea495d021f7048ffd49eb31aab1fa1.tar.bz2
nix-2d1177d41bea495d021f7048ffd49eb31aab1fa1.tar.lz
nix-2d1177d41bea495d021f7048ffd49eb31aab1fa1.tar.xz
nix-2d1177d41bea495d021f7048ffd49eb31aab1fa1.tar.zst
nix-2d1177d41bea495d021f7048ffd49eb31aab1fa1.zip
Move nvidia-patch content
-rw-r--r--flake.nix4
-rw-r--r--hosts/arrakis/hardware-configuration.nix4
2 files changed, 5 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 9adf110..97f8527 100644
--- a/flake.nix
+++ b/flake.nix
@@ -32,6 +32,9 @@
};
outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, nvidia-patch, sops-nix, ... }: rec {
+
+ nixpkgs.overlays = [ inputs.nvidia-patch.overlays.default ];
+
nixosConfigurations = {
arrakis = nixpkgs-unstable.lib.nixosSystem {
pkgs = pkgs-unstable;
@@ -115,4 +118,5 @@
overlays = [(import ./pkgs)];
};
};
+
}
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix
index 4dd60b8..8d87066 100644
--- a/hosts/arrakis/hardware-configuration.nix
+++ b/hosts/arrakis/hardware-configuration.nix
@@ -1,4 +1,4 @@
-{ config, inputs, lib, nvidia-patch, pkgs, modulesPath, ... }:
+{ config, lib, pkgs, modulesPath, ... }:
{
imports =
@@ -50,8 +50,6 @@
{ 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 {