diff --git a/flake.nix b/flake.nix index 51bc0fa..d4a4140 100644 --- a/flake.nix +++ b/flake.nix @@ -35,6 +35,7 @@ in { nixosConfigurations = { Zephyrus = nixpkgs.lib.nixosSystem { + extraArgs = {inherit inputs;}; modules = [ ./hosts/Zephyrus disko.nixosModules.disko diff --git a/hosts/Zephyrus/default.nix b/hosts/Zephyrus/default.nix index dde0b9e..4003e8e 100644 --- a/hosts/Zephyrus/default.nix +++ b/hosts/Zephyrus/default.nix @@ -1,4 +1,5 @@ { + inputs, pkgs, lib, config, @@ -26,4 +27,11 @@ ]; group = "gaspard"; }; + + home-manager = { + extraSpecialArgs = {inherit inputs;}; + users = { + "gaspard" = import ../../users/gaspard.nix; + }; + }; }