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 | a707ca0e2e3c1ffcc09647cac9a9d9357f85314a (patch) | |
tree | 88e6286eb4f90500d4571aa5dbbd2a36b49a8bf0 /jeschli/krops.nix | |
parent | 9722a91761b7fd68704c1c69be7df2952d4f4a41 (diff) | |
parent | 7d5a58cd02e85abdf53c7cebaf295ff8a175e61e (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 30b06c1e6..9a8a76676 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) |