fix: smarten 'buildOnTarget' by using tags

This commit is contained in:
2026-02-02 21:40:30 +01:00
parent 6dc7253a50
commit 7c7b1de75f

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;
};
};