krebs/krops.nix: add target
This commit is contained in:
parent
7ca133e90b
commit
0a8475344a
@ -1,4 +1,4 @@
|
||||
{ name }: rec {
|
||||
{ name, target ? name }: rec {
|
||||
|
||||
krops = ../submodules/krops;
|
||||
|
||||
@ -63,7 +63,7 @@
|
||||
# usage: $(nix-build --no-out-link --argstr name HOSTNAME -A deploy)
|
||||
deploy = pkgs.krops.writeDeploy "${name}-deploy" {
|
||||
source = source { test = false; };
|
||||
target = "root@${name}/var/src";
|
||||
target = "root@${target}/var/src";
|
||||
};
|
||||
|
||||
# usage: $(nix-build --no-out-link --argstr name HOSTNAME --argstr target PATH -A test)
|
||||
|
Loading…
Reference in New Issue
Block a user