Move secrets to individual configs
This commit is contained in:
parent
bee8a21990
commit
a1b70baa78
5 changed files with 9 additions and 48 deletions
|
|
@ -5,11 +5,11 @@ in {
|
|||
builtins.listToAttrs (map (name: {
|
||||
name = name;
|
||||
value = let
|
||||
mod = root + /${name}/configuration.nix;
|
||||
additionalNixosConfig = root + /${name}/hardware.nix;
|
||||
additionalHomeConfig = root + /${name}/home.nix;
|
||||
mod = root + /hosts/${name}/configuration.nix;
|
||||
additionalNixosConfig = root + /hosts/${name}/hardware.nix;
|
||||
additionalHomeConfig = root + /hosts/${name}/home.nix;
|
||||
in inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs pkgs mod additionalHomeConfig; };
|
||||
specialArgs = { inherit inputs pkgs mod additionalHomeConfig root; };
|
||||
modules = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.stylix.nixosModules.stylix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue