Skip to content

Commit f716b2b

Browse files
committed
test
1 parent 3c7c5e0 commit f716b2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/effect-deploy.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
{
33
herculesCI = herculesCI: {
44
onPush.default.outputs.effects = withSystem "x86_64-linux" (
5-
{ hci-effects, ... }:
5+
{ hci-effects, pkgs, ... }:
66
let
77
hosts = (import "${self}/modules/shared/known-hosts.nix").programs.ssh.knownHosts;
88
in
99
builtins.listToAttrs (
1010
map
1111
(x: {
1212
name = x;
13-
value = hci-effects.runIf (herculesCI.config.repo.branch == "master") (
13+
value = (
1414
hci-effects.runNixDarwin {
1515
ssh.destination = "customer@${x}.nix-community.org";
16+
ssh.nix = pkgs.nixVersions.nix_2_24;
1617
configuration = self.darwinConfigurations.${x};
1718
secretsMap.ssh-deployment = "ssh-deployment";
1819
userSetupScript = ''

0 commit comments

Comments
 (0)