feat(flake): append missing modules

Append missing modules for `nixos` and `home-manager` configs
This commit is contained in:
reo101 2022-11-27 23:57:21 +02:00
parent 9a9524a71e
commit 177babd497

View file

@ -109,7 +109,7 @@
mkNixosHost = system: hostname: nixpkgs.lib.nixosSystem { mkNixosHost = system: hostname: nixpkgs.lib.nixosSystem {
modules = [ modules = [
./machines/nixos/${system}/${hostname}/configuration.nix ./machines/nixos/${system}/${hostname}/configuration.nix
]; ] ++ (builtins.attrValues nixosModules);
specialArgs = { specialArgs = {
inherit inputs outputs; inherit inputs outputs;
@ -162,7 +162,7 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
modules = [ modules = [
./machines/home-manager/${system}/${hostname}/home.nix ./machines/home-manager/${system}/${hostname}/home.nix
]; ] ++ (builtins.attrValues homeManagerModules);
extraSpecialArgs = { inherit inputs outputs; }; extraSpecialArgs = { inherit inputs outputs; };
}; };