summaryrefslogtreecommitdiffstats
path: root/lass/1systems/blue
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-06-07 08:24:56 +0200
committerlassulus <lass@blue.r>2018-06-07 08:24:56 +0200
commit2e7f0ada013810e577944434f42000313befe549 (patch)
treefc9c3480101d0bfcf15448bef9d1a4d1767afee9 /lass/1systems/blue
parent16d306c784ce586cc72ff24f2ab65f6431f9c5d5 (diff)
l: kops -> krops
Diffstat (limited to 'lass/1systems/blue')
-rw-r--r--lass/1systems/blue/config.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/lass/1systems/blue/config.nix b/lass/1systems/blue/config.nix
index aef055cf..a84bb37f 100644
--- a/lass/1systems/blue/config.nix
+++ b/lass/1systems/blue/config.nix
@@ -12,6 +12,14 @@ with import <stockholm/lib>;
krebs.build.host = config.krebs.hosts.blue;
+ environment.shellAliases = {
+ deploy = pkgs.writeDash "deploy" ''
+ set -eu
+ export SYSTEM="$1"
+ $(nix-build $HOME/stockholm/lass/krops.nix --no-out-link --argstr name "$SYSTEM" -A deploy)
+ '';
+ };
+
networking.nameservers = [ "1.1.1.1" ];
lass.restic = genAttrs [