fix: smarten 'buildOnTarget' by using tags

This commit is contained in:
hektor authored and Hektor Misplon committed 2026-03-11 21:25:32 +01:00
1 parent 35d495e872
commit 6012da3ceb
1 file changed
+1
+1
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;
};
};