effects: limit effect run to specific agent

This commit is contained in:
Max Headroom 2022-05-25 00:23:43 +02:00
parent 9ef771e921
commit d32d77b508

View file

@ -105,6 +105,7 @@
effects = { branch, ... }: {
deploy-prophet = effects.runIf (branch == "hci-improvements") (effects.runNixOS {
requiredSystemFeatures = [ "hci-deploy-agent-nixos" ];
config = self.nixosConfigurations.prophet.config // { outPath = "wtfwtfwtfwtfwtfwtf"; };
secretsMap.ssh = "deploy-ssh";