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 | f2eb45481720a30ddab5e309f43b59caae6cb238 (patch) | |
tree | 6fe81f2ef81deb44802a3ae1bd9e55f231888ee8 /tv/1systems/xu.nix | |
parent | dbf5fdd6e43fd63109655c66cfb628a352504ac6 (diff) |
tv/xu krebszones: add sane defaults
Diffstat (limited to 'tv/1systems/xu.nix')
-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 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 |