Merge hosts and deployments with a simpler and clearer hosts definition

This commit is contained in:
pazpi 2025-12-03 16:07:59 +01:00
parent f244d787be
commit b6b2774414
4 changed files with 233 additions and 219 deletions

View file

@ -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; [