aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 7cd2744..2291ef9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -23,6 +23,11 @@
nixpkgs-stable.url = "github:nixos/nixpkgs/release-24.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
+ nvidia-patch = {
+ url = "github:icewind1991/nvidia-patch-nixos";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
@@ -30,14 +35,14 @@
};
- outputs = inputs@{ home-manager-stable, home-manager, nixos-hardware, nixpkgs-stable, nixpkgs, sops-nix, ... }: {
+ outputs = inputs@{ home-manager-stable, home-manager, nixos-hardware, nixpkgs-stable, nixpkgs, nvidia-patch, sops-nix }: {
nixosConfigurations = {
arrakis = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
- specialArgs = {
+ specialArgs = { inherit inputs nvidia-patch;
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;