diff options
author | lassulus <lassulus@lassul.us> | 2019-10-14 17:02:20 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-10-14 17:02:20 +0200 |
commit | eb52bcfc86daf606e2b8b5523cba0ffb1e225d8d (patch) | |
tree | 1fdb41cfcb8068d75808ee75a36f995ac9636f42 /jeschli/krops.nix | |
parent | b6443c712dc0d0782243cc60868b362f6e28031f (diff) | |
parent | 7cf1a818a56dc0ab12e62b4302a30168894f4763 (diff) |
Merge remote-tracking branch 'enklave/master' into 19.09
Diffstat (limited to 'jeschli/krops.nix')
-rw-r--r-- | jeschli/krops.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jeschli/krops.nix b/jeschli/krops.nix index 30b06c1..9a8a766 100644 --- a/jeschli/krops.nix +++ b/jeschli/krops.nix @@ -29,9 +29,9 @@ in { # usage: $(nix-build --no-out-link --argstr name HOSTNAME -A deploy) - deploy = pkgs.krops.writeDeploy "${name}-deploy" { + deploy = { target ? "root@${name}/var/src" }: pkgs.krops.writeDeploy "${name}-deploy" { source = source { test = false; }; - target = "root@${name}/var/src"; + inherit target; }; # usage: $(nix-build --no-out-link --argstr name HOSTNAME --argstr target PATH -A test) |