aboutsummaryrefslogtreecommitdiff
path: root/nix/machines/vm-synology/ddns.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-28 13:11:41 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-28 13:11:41 -0800
commit4ed4ba6af445144ecd3fc364d811e866b5e022d7 (patch)
treecd01379afd963c37adfc2dcef0fec9fcd1f06385 /nix/machines/vm-synology/ddns.nix
parenthetzner machine is gone (diff)
downloadinfra-4ed4ba6af445144ecd3fc364d811e866b5e022d7.tar.gz
removed a few services from vm-synology
Diffstat (limited to 'nix/machines/vm-synology/ddns.nix')
-rw-r--r--nix/machines/vm-synology/ddns.nix21
1 files changed, 0 insertions, 21 deletions
diff --git a/nix/machines/vm-synology/ddns.nix b/nix/machines/vm-synology/ddns.nix
deleted file mode 100644
index 837bfa7..0000000
--- a/nix/machines/vm-synology/ddns.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ ... }:
-{
- age.secrets.ddns-updater = {
- file = ../../../secrets/ddns-updater.age;
- owner = "root";
- group = "root";
- mode = "600";
- };
-
- # https://github.com/NixOS/nixpkgs/blob/e028379cfb9d92e49120e46045042998dfed87d0/nixos/modules/services/networking/ddns-updater.nix#
- services.ddns-updater = {
- enable = true;
- environment = {
- RESOLVER_ADDRESS = "8.8.8.8:53";
- CONFIG_FILEPATH = "%d/config.json";
- };
- };
-
- # https://systemd.io/CREDENTIALS/
- systemd.services.ddns-updater.serviceConfig.LoadCredential = "config.json:/run/agenix/ddns-updater";
-}