summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/deploy
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-08-12 21:38:32 +0200
committerlassulus <lassulus@lassul.us>2020-08-12 21:38:32 +0200
commitb42fe392f34554315d8aff7c808f73a5eb25badc (patch)
tree06ae11b460ce909afc0c9d910d4cadc06c7942dd /lass/5pkgs/deploy
parent514ba4d303e663529f347d5c3adbaece0f94361b (diff)
l: add deploy to all systems
Diffstat (limited to 'lass/5pkgs/deploy')
-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)
+''