aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-21 00:49:55 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-21 00:49:55 -0700
commit3d1b934eb399469651342b5b0d61f90ef2616507 (patch)
tree0bfa22253cd40313812bc02bf1533d02de640191
parent03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d (diff)
downloadnix-3d1b934eb399469651342b5b0d61f90ef2616507.tar
nix-3d1b934eb399469651342b5b0d61f90ef2616507.tar.gz
nix-3d1b934eb399469651342b5b0d61f90ef2616507.tar.bz2
nix-3d1b934eb399469651342b5b0d61f90ef2616507.tar.lz
nix-3d1b934eb399469651342b5b0d61f90ef2616507.tar.xz
nix-3d1b934eb399469651342b5b0d61f90ef2616507.tar.zst
nix-3d1b934eb399469651342b5b0d61f90ef2616507.zip
Add nVidia patches
-rw-r--r--flake.nix2
-rw-r--r--hosts/arrakis/hardware-configuration.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 926fc69..6e60da4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -64,8 +64,6 @@
}
sops-nix.nixosModules.sops
];
-
- nixpkgs.overlays = [inputs.nvidia-patch.overlays.default];
};
darkstar = nixpkgs-unstable.lib.nixosSystem rec {
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix
index e1b7dc0..67c3ee1 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, lib, pkgs, modulesPath, ... }:
+{ config, inputs, lib, nvidia-patch, pkgs, modulesPath, ... }:
{
imports =
@@ -88,6 +88,8 @@
{ device = "/dev/disk/by-label/swap2"; }
];
+ nixpkgs.overlays = [inputs.nvidia-patch.overlays.default];
+
hardware = {
bluetooth.enable = true;
graphics = {