We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7c5e0 commit f716b2bCopy full SHA for f716b2b
dev/effect-deploy.nix
@@ -2,17 +2,18 @@
2
{
3
herculesCI = herculesCI: {
4
onPush.default.outputs.effects = withSystem "x86_64-linux" (
5
- { hci-effects, ... }:
+ { hci-effects, pkgs, ... }:
6
let
7
hosts = (import "${self}/modules/shared/known-hosts.nix").programs.ssh.knownHosts;
8
in
9
builtins.listToAttrs (
10
map
11
(x: {
12
name = x;
13
- value = hci-effects.runIf (herculesCI.config.repo.branch == "master") (
+ value = (
14
hci-effects.runNixDarwin {
15
ssh.destination = "customer@${x}.nix-community.org";
16
+ ssh.nix = pkgs.nixVersions.nix_2_24;
17
configuration = self.darwinConfigurations.${x};
18
secretsMap.ssh-deployment = "ssh-deployment";
19
userSetupScript = ''
0 commit comments