aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.lock55
-rw-r--r--hosts/arrakis/hardware-configuration.nix4
2 files changed, 57 insertions, 2 deletions
diff --git a/flake.lock b/flake.lock
index 2e4525e..87d03ef 100644
--- a/flake.lock
+++ b/flake.lock
@@ -124,6 +124,27 @@
"type": "github"
}
},
+ "nvidia-patch": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ],
+ "utils": "utils"
+ },
+ "locked": {
+ "lastModified": 1728174521,
+ "narHash": "sha256-cp0gCyB8AifT8lPg+Zl/Y0tLTKe5+0Eu84BwtYQiyX0=",
+ "owner": "icewind1991",
+ "repo": "nvidia-patch-nixos",
+ "rev": "0c0184603c56c852541e0a2cc00dd65a15e46dda",
+ "type": "github"
+ },
+ "original": {
+ "owner": "icewind1991",
+ "repo": "nvidia-patch-nixos",
+ "type": "github"
+ }
+ },
"root": {
"inputs": {
"disko": "disko",
@@ -132,6 +153,7 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
+ "nvidia-patch": "nvidia-patch",
"sops-nix": "sops-nix"
}
},
@@ -155,6 +177,39 @@
"repo": "sops-nix",
"type": "github"
}
+ },
+ "systems": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
+ "utils": {
+ "inputs": {
+ "systems": "systems"
+ },
+ "locked": {
+ "lastModified": 1710146030,
+ "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
}
},
"root": "root",
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix
index 0983fac..bbf171f 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, inputs, lib, pkgs, modulesPath, ... }:
let
package = config.boot.kernelPackages.nvidiaPackages.beta;
@@ -103,7 +103,7 @@ in
nvidia = {
modesetting.enable = true;
open = true;
- package = inputs.nvidia-patch.packages.x86_64-linux.nvidia-patch.patch-nvenc (inputs.nvidia-patch.packages.x86_64-linux.nvidia-patch.patch-fbc package);
+ package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc package);
};
};
}