summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/krebszones/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-12-05 18:42:27 +0100
committertv <tv@krebsco.de>2017-12-05 18:42:27 +0100
commit18fad9c618be468d3a8e902ee2e23143e598163c (patch)
tree06de87b60aa8a783b27477e9d472b1193dbec50d /krebs/5pkgs/simple/krebszones/default.nix
parente5ab9b686ad7337d54e5d2b2ff6e8f88ac7a68f1 (diff)
parente37ca2ceaf83adfdf93f512dd5e5849ddba4e7fb (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/5pkgs/simple/krebszones/default.nix')
-rw-r--r--krebs/5pkgs/simple/krebszones/default.nix2
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