diff options
author | makefu <github@syntax-fehler.de> | 2017-11-22 19:12:12 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-11-22 19:12:12 +0100 |
commit | f2160466d1482df3518a0c9abb06b746745bc0c0 (patch) | |
tree | e032fcd173966c9023c14e0c470464377bbdbcf4 /krebs/5pkgs/simple/krebszones | |
parent | f70cfd8f1f90872e7e4b413d66f43f0eb1a3cf57 (diff) |
krebszones: make OVH_ZONE_CONFIG configurable
Diffstat (limited to 'krebs/5pkgs/simple/krebszones')
-rw-r--r-- | krebs/5pkgs/simple/krebszones/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/krebszones/default.nix b/krebs/5pkgs/simple/krebszones/default.nix index b54c95d88..32608e7fa 100644 --- a/krebs/5pkgs/simple/krebszones/default.nix +++ b/krebs/5pkgs/simple/krebszones/default.nix @@ -2,7 +2,7 @@ pkgs.writeDashBin "krebszones" '' set -efu - export OVH_ZONE_CONFIG=$HOME/.secrets/krebs/ovh-zone.conf + export OVH_ZONE_CONFIG=''${OVH_ZONE_CONFIG:-$HOME/.secrets/krebs/ovh-zone.conf} case $* in import) set -- import /etc/zones/krebsco.de krebsco.de |