Server/ddclient: update password

This commit is contained in:
Toast 2024-02-20 00:11:10 +01:00
parent c6a89378c6
commit 38ad6796a1

View file

@ -1,8 +1,12 @@
{ config, ... }:
{ config, flakeSelf, ... }:
let
hostSecrets = "${flakeSelf.inputs.secrets}/" + config.networking.hostName;
in
{
# Set up secrets
age.secrets = { ddclient-passwd.file = ../../secrets/ddclient-passwd; };
age.secrets = { ddclient-passwd.file = hostSecrets + "/ddclient-password.age"; };
services.ddclient = {
enable = true;
@ -13,4 +17,4 @@
passwordFile = config.age.secrets.ddclient-passwd.path;
domains = [ "@" ];
};
}
}