aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/saarni
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/saarni')
-rw-r--r--hosts/saarni/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/hosts/saarni/default.nix b/hosts/saarni/default.nix
index 5252e6f..9b2007a 100644
--- a/hosts/saarni/default.nix
+++ b/hosts/saarni/default.nix
@@ -3,12 +3,8 @@
# and in the NixOS manual (accessible by running ‘nixos-help’).
{
- inputs,
- outputs,
- lib,
config,
pkgs,
- vars,
...
}:
@@ -113,6 +109,7 @@
services = {
godns = {
enable = true;
+ loadCredential = [ "login_token:${config.age.secrets.duckdns.path}" ];
settings = {
domains = [
{
@@ -120,10 +117,10 @@
sub_domains = [ "saarni" ];
}
];
+ login_token_file = "$CREDENTIALS_DIRECTORY/login_token";
ip_interface = "wlan0";
interval = 300;
ip_type = "IPv6";
- login_token_file = config.age.secrets.duckdns.path;
provider = "DuckDNS";
};
};