Allow deploy of (almost) everything
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.

This commit is contained in:
Greg Hellings
2026-01-08 18:05:19 -06:00
parent 6ef1f4a072
commit ecf5b3e75f
2 changed files with 18 additions and 7 deletions
+6 -5
View File
@@ -99,21 +99,22 @@
// (builtins.mapAttrs (
k: v:
{
imports = v._module.args.modules;
imports = self.nixosConfigurations.${k}._module.args.modules;
}
// (
if builtins.hasAttr "tags" metadata.hosts.${k} then
if builtins.hasAttr "tags" v then
{
deployment = {
inherit (metadata.hosts.${k}) tags;
targetHost = metadata.hosts.${k}.ts;
inherit (v) tags;
targetHost = v.ts;
targetUser = "greg";
};
}
else
{ }
)
) self.nixosConfigurations)
) (top.nixunstable.lib.filterAttrs (_: v: !(v ? "external") || !v.external) metadata.hosts))
#) self.nixosConfigurations)
);
darwinConfigurations = (