From f7f109cb140953a0d3053e5f15129535defd223a Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 27 Aug 2024 17:37:10 +0530 Subject: flake/nixos-hardware: init --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index f88e5d0..caee568 100644 --- a/flake.nix +++ b/flake.nix @@ -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 -- cgit v1.2.3