tv/xu krebszones: add sane defaults

This commit is contained in:
tv 2017-06-04 08:56:32 +02:00
parent 811ceaa243
commit c68fe5f5b5

View File

@ -46,6 +46,18 @@ with import <stockholm/lib>;
texlive.combined.scheme-full texlive.combined.scheme-full
tmux 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 #ack
#apache-httpd #apache-httpd
#ascii #ascii