summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
Diffstat (limited to 'tv')
-rw-r--r--tv/1systems/xu.nix12
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