diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-23 00:30:49 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-23 00:30:49 -0700 |
commit | da29250fef605b5e5eca0db672e7763c0e6b0e32 (patch) | |
tree | e16c956fd3772a1157d4cbbe90c3b7e168f3ad78 /flake.nix | |
parent | 9cb590de3638de9e018a04305d704eea74ea6e30 (diff) | |
download | nix-da29250fef605b5e5eca0db672e7763c0e6b0e32.tar nix-da29250fef605b5e5eca0db672e7763c0e6b0e32.tar.gz nix-da29250fef605b5e5eca0db672e7763c0e6b0e32.tar.bz2 nix-da29250fef605b5e5eca0db672e7763c0e6b0e32.tar.lz nix-da29250fef605b5e5eca0db672e7763c0e6b0e32.tar.xz nix-da29250fef605b5e5eca0db672e7763c0e6b0e32.tar.zst nix-da29250fef605b5e5eca0db672e7763c0e6b0e32.zip |
Add nVidia patches
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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; |