summaryrefslogtreecommitdiffstats
path: root/tv/1systems/xu.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/1systems/xu.nix')
-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 60d1af2..288373f 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