summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-08-02 18:14:32 +0200
committertv <tv@krebsco.de>2023-08-02 18:14:32 +0200
commit363b381eeca12c54c83b4841198d189d470d345e (patch)
treecbeef0d863ccfd10075b6f35a15e4b0750b0b545
parent7e98588f8e626c4e2800e1238ea8a1df1f5c8f7a (diff)
krebszones: RIP
-rw-r--r--krebs/5pkgs/simple/krebszones/default.nix13
-rw-r--r--lass/2configs/programs.nix6
-rw-r--r--tv/1systems/xu/config.nix1
3 files changed, 0 insertions, 20 deletions
diff --git a/krebs/5pkgs/simple/krebszones/default.nix b/krebs/5pkgs/simple/krebszones/default.nix
deleted file mode 100644
index 32608e7fa..000000000
--- a/krebs/5pkgs/simple/krebszones/default.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ pkgs, ... }:
-
-pkgs.writeDashBin "krebszones" ''
- set -efu
- export OVH_ZONE_CONFIG=''${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.ovh-zone}/bin/ovh-zone "$@"
-''
diff --git a/lass/2configs/programs.nix b/lass/2configs/programs.nix
index 0997b41a8..4361ec747 100644
--- a/lass/2configs/programs.nix
+++ b/lass/2configs/programs.nix
@@ -35,12 +35,6 @@
export SYSTEM="$1"
$(nix-build $HOME/sync/stockholm/lass/krops.nix --no-out-link --argstr name "$SYSTEM" -A deploy)
'')
- (pkgs.writeDashBin "krebsco.de" ''
- TMPDIR=$(${pkgs.coreutils}/bin/mktemp -d)
- ${pkgs.brain}/bin/brain show krebs-secrets/ovh-secrets.json > "$TMPDIR"/ovh-secrets.json
- OVH_ZONE_CONFIG="$TMPDIR"/ovh-secrets.json ${pkgs.krebszones}/bin/krebszones import
- ${pkgs.coreutils}/bin/rm -rf "$TMPDIR"
- '')
(pkgs.writeDashBin "lassul.us" ''
TMPDIR=$(${pkgs.coreutils}/bin/mktemp -d)
${pkgs.pass}/bin/pass show admin/ovh/api.config > "$TMPDIR"/ovh-secrets.json
diff --git a/tv/1systems/xu/config.nix b/tv/1systems/xu/config.nix
index 80d16e686..83e17e1bd 100644
--- a/tv/1systems/xu/config.nix
+++ b/tv/1systems/xu/config.nix
@@ -37,7 +37,6 @@ with import ./lib;
gnupg1compat
haskellPackages.hledger
jq
- krebszones
mkpasswd
netcat
netcup