aboutsummaryrefslogtreecommitdiff
path: root/nix/machines/vm-synology/ddns.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-19 12:54:16 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-19 12:54:16 -0800
commitbc40b7e0ad2ef5960b7f1695b4520909252a0e49 (patch)
treef22e9e5001720bbc82055a5d4d3b24077b9647de /nix/machines/vm-synology/ddns.nix
parentuse treefmt to format all the files (diff)
downloadinfra-bc40b7e0ad2ef5960b7f1695b4520909252a0e49.tar.gz
switch to the newer version of nixfmt
`nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively maintained, but also changes the style, so this commit touches all the files in the repository.
Diffstat (limited to 'nix/machines/vm-synology/ddns.nix')
-rw-r--r--nix/machines/vm-synology/ddns.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nix/machines/vm-synology/ddns.nix b/nix/machines/vm-synology/ddns.nix
index df59793..837bfa7 100644
--- a/nix/machines/vm-synology/ddns.nix
+++ b/nix/machines/vm-synology/ddns.nix
@@ -1,4 +1,5 @@
-{ ... }: {
+{ ... }:
+{
age.secrets.ddns-updater = {
file = ../../../secrets/ddns-updater.age;
owner = "root";
@@ -16,6 +17,5 @@
};
# https://systemd.io/CREDENTIALS/
- systemd.services.ddns-updater.serviceConfig.LoadCredential =
- "config.json:/run/agenix/ddns-updater";
+ systemd.services.ddns-updater.serviceConfig.LoadCredential = "config.json:/run/agenix/ddns-updater";
}