aboutsummaryrefslogtreecommitdiff
path: root/tools/dnsupdate/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-12 18:27:49 -0700
committerFranck Cuny <franck@fcuny.net>2023-03-12 18:27:49 -0700
commit64c5fc1ba70901af9c0b46c4e89b2bc5f37a218b (patch)
tree03e4048edb498a903a2d2a0e3e364a2dc570ab88 /tools/dnsupdate/default.nix
parenthome/gpg: disable the agent (diff)
downloadinfra-64c5fc1ba70901af9c0b46c4e89b2bc5f37a218b.tar.gz
tools: delete dns-updater
The code has moved to https://git.fcuny.net/dns-updater/
Diffstat (limited to 'tools/dnsupdate/default.nix')
-rw-r--r--tools/dnsupdate/default.nix19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/dnsupdate/default.nix b/tools/dnsupdate/default.nix
deleted file mode 100644
index 85f0285..0000000
--- a/tools/dnsupdate/default.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ pkgs, buildGoModule, ... }:
-
-buildGoModule rec {
- name = "dnsupdate";
- src = ./.;
- vendorSha256 = "sha256-DQ/kYC/EZpcOKk0Y+DvwJtAPZpamxvEl7gKk8uEB2Ls=";
- nativeBuildInputs = with pkgs; [ go ];
-
- push = pkgs.writers.writeBashBin "dns-push" ''
- set -ueo pipefail
-
- cd $(git rev-parse --show-toplevel)/tools/dnsupdate
-
- export TS_API_KEY=$(pass api/api.tailscale.com)
- export GOOGLE_APPLICATION_CREDENTIALS=/run/agenix/gcloud/world-nix
-
- go run .
- '';
-}