diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-08-27 17:37:10 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-08-27 18:17:41 +0530 |
commit | f7f109cb140953a0d3053e5f15129535defd223a (patch) | |
tree | 8f50f39654b4118d237fd7a0e3ba16930a4deb08 /flake.nix | |
parent | 20f23006a2204d3fc94da39ca24f8bc78a5bc386 (diff) |
flake/nixos-hardware: init
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable"; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; sops-nix = { url = "github:Mic92/sops-nix"; @@ -15,7 +16,7 @@ }; }; - outputs = { self, nixpkgs, sops-nix, home-manager }: let + outputs = { self, nixpkgs, sops-nix, home-manager, nixos-hardware }: let lib = nixpkgs.lib; makeGlobalImports = host: [ @@ -30,6 +31,8 @@ makeNixos = host: system: lib.nixosSystem { inherit system; + specialArgs = { inherit nixos-hardware; }; + modules = [ sops-nix.nixosModules.sops |