Merge hosts and deployments with a simpler and clearer hosts definition
This commit is contained in:
parent
f244d787be
commit
b6b2774414
4 changed files with 233 additions and 219 deletions
|
|
@ -68,9 +68,7 @@
|
|||
nixosConfigurations = (import ./hosts inputs);
|
||||
|
||||
colmenaHive = colmena.lib.makeHive self.outputs.colmena;
|
||||
colmena = lib.recursiveUpdate (builtins.mapAttrs (k: v: {
|
||||
imports = v._module.args.modules;
|
||||
}) self.nixosConfigurations) hosts;
|
||||
colmena = hosts;
|
||||
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue