fix: smarten 'buildOnTarget' by using tags
This commit is contained in:
1 parent
35d495e872
commit
6012da3ceb
1 file changed
+1
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user