fix: smarten 'buildOnTarget' by using tags
This commit is contained in:
@@ -9,6 +9,7 @@ let
|
|||||||
deployment = {
|
deployment = {
|
||||||
targetHost = self.nixosConfigurations.${hostname}.config.ssh.publicHostname;
|
targetHost = self.nixosConfigurations.${hostname}.config.ssh.publicHostname;
|
||||||
targetUser = self.nixosConfigurations.${hostname}.config.ssh.username;
|
targetUser = self.nixosConfigurations.${hostname}.config.ssh.username;
|
||||||
|
buildOnTarget = builtins.any (t: t != "local") tags;
|
||||||
inherit tags;
|
inherit tags;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user