summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/deploy/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-09-08 22:19:15 +0200
committertv <tv@krebsco.de>2020-09-08 22:19:15 +0200
commitf3aac671f823063f225096984ff8644190cf9b91 (patch)
treec33c4e9d8da1ba419541950f110f4b4dfbf8155b /lass/5pkgs/deploy/default.nix
parent6fbbf7e6170f6a1ba42c5dcecd11ca67c6bc5afd (diff)
parent549598bfd9cf6e94f8bb83ebbcc17400069f1198 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/5pkgs/deploy/default.nix')
-rw-r--r--lass/5pkgs/deploy/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/lass/5pkgs/deploy/default.nix b/lass/5pkgs/deploy/default.nix
new file mode 100644
index 000000000..c07cf20d1
--- /dev/null
+++ b/lass/5pkgs/deploy/default.nix
@@ -0,0 +1,6 @@
+{ writers }:
+writers.writeDashBin "deploy" ''
+ set -eu
+ export SYSTEM="$1"
+ $(nix-build $HOME/sync/stockholm/lass/krops.nix --no-out-link --argstr name "$SYSTEM" -A deploy)
+''