fix: smarten 'buildOnTarget' by using tags

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