aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-21 00:47:57 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-21 00:47:57 -0700
commit03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d (patch)
tree4eb72b525b4e44dd1cf82fdf472e0a1b258480dd
parent56fd50802f27fa8b57887b051a1ef57e5d2d4e83 (diff)
downloadnix-03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d.tar
nix-03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d.tar.gz
nix-03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d.tar.bz2
nix-03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d.tar.lz
nix-03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d.tar.xz
nix-03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d.tar.zst
nix-03f5dab2643ce6aed5b59d4ddf1a48fd3b55d70d.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 6e60da4..926fc69 100644
--- a/flake.nix
+++ b/flake.nix
@@ -64,6 +64,8 @@
}
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 1668154..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, pkgs, modulesPath, ... }:
+{ config, lib, pkgs, modulesPath, ... }:
{
imports =
@@ -83,8 +83,6 @@
];
};
- nixpkgs.overlays = [inputs.nvidia-patch.overlays.default];
-
swapDevices = [
{ device = "/dev/disk/by-label/swap1"; }
{ device = "/dev/disk/by-label/swap2"; }