diff options
author | tv <tv@krebsco.de> | 2017-06-04 08:56:32 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-06-04 08:56:32 +0200 |
commit | c68fe5f5b59bb598f5b4443f821586c7bb316ba1 (patch) | |
tree | 490173dda9f2ada1d3908568d1da93215d753f2c /tv/1systems | |
parent | 811ceaa243bf5241ca1189871c4426240962f04d (diff) |
tv/xu krebszones: add sane defaults
Diffstat (limited to 'tv/1systems')
-rw-r--r-- | tv/1systems/xu.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tv/1systems/xu.nix b/tv/1systems/xu.nix index 60d1af23e..288373fc9 100644 --- a/tv/1systems/xu.nix +++ b/tv/1systems/xu.nix @@ -46,6 +46,18 @@ with import <stockholm/lib>; texlive.combined.scheme-full tmux + (pkgs.writeDashBin "krebszones" '' + set -efu + export OVH_ZONE_CONFIG=$HOME/.secrets/krebs/ovh-zone.conf + case $* in + import) + set -- import /etc/zones/krebsco.de krebsco.de + echo "+ krebszones $*" >&2 + ;; + esac + exec ${pkgs.krebszones}/bin/ovh-zone "$@" + '') + #ack #apache-httpd #ascii |