fix: smarten 'buildOnTarget' by using tags

This commit is contained in:
2026-02-02 21:40:30 +01:00
parent adb1265800
commit b3ab7dcb1c

View File

@@ -9,6 +9,7 @@ let
deployment = {
targetHost = self.nixosConfigurations.${hostname}.config.ssh.publicHostname;
targetUser = self.nixosConfigurations.${hostname}.config.ssh.username;
buildOnTarget = builtins.any (t: t != "local") tags;
inherit tags;
};
};