diff options
author | makefu <github@syntax-fehler.de> | 2018-06-14 21:54:55 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-06-14 21:54:55 +0200 |
commit | d98e41a4d70755b10d123678250bb6353b53b5bd (patch) | |
tree | b64f54fcba0bcf31b4962632803634a57b5df0a7 /lass/1systems/blue/config.nix | |
parent | 8cad4d187446901206e8110d27d1763c2df942d2 (diff) | |
parent | 006a3174eccecfee96e7b4fb9c818043a0334535 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/1systems/blue/config.nix')
-rw-r--r-- | lass/1systems/blue/config.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lass/1systems/blue/config.nix b/lass/1systems/blue/config.nix index aef055cf0..a84bb37f6 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 [ |