From c68fe5f5b59bb598f5b4443f821586c7bb316ba1 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 4 Jun 2017 08:56:32 +0200 Subject: tv/xu krebszones: add sane defaults --- tv/1systems/xu.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 ; 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 -- cgit v1.2.3