summaryrefslogtreecommitdiffstats
path: root/jeschli/1systems
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2018-09-25 19:45:44 +0200
committerjeschli <jeschli@gmail.com>2018-09-25 19:45:44 +0200
commitb605a12d5b3c1ba3fa19ea06231b185d0b5e29a4 (patch)
tree0f1c1bf8681df505140541ead3358ac3606e1ae8 /jeschli/1systems
parent4386b9a140a2a7dd9019037bfb2ac4b02ab3e658 (diff)
jeschli brauerei: krops deploy
Diffstat (limited to 'jeschli/1systems')
-rw-r--r--jeschli/1systems/brauerei/config.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/jeschli/1systems/brauerei/config.nix b/jeschli/1systems/brauerei/config.nix
index 4cd544a66..3d21b9e2e 100644
--- a/jeschli/1systems/brauerei/config.nix
+++ b/jeschli/1systems/brauerei/config.nix
@@ -37,6 +37,11 @@
cd ~/stockholm
exec nix-shell -I stockholm="$PWD" --run 'deploy --system="brauerei"'
'';
+ deploy = pkgs.writeDash "deploy" ''
+ set -eu
+ export SYSTEM="$1"
+ $(nix-build $HOME/stockholm/jeschli/krops.nix --no-out-link --argstr name "$SYSTEM" -A deploy)
+ '';
};
environment.systemPackages = with pkgs; [