Server/ddclient: update password
This commit is contained in:
parent
c6a89378c6
commit
38ad6796a1
1 changed files with 7 additions and 3 deletions
|
|
@ -1,8 +1,12 @@
|
||||||
{ config, ... }:
|
{ config, flakeSelf, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
hostSecrets = "${flakeSelf.inputs.secrets}/" + config.networking.hostName;
|
||||||
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
# Set up secrets
|
# Set up secrets
|
||||||
age.secrets = { ddclient-passwd.file = ../../secrets/ddclient-passwd; };
|
age.secrets = { ddclient-passwd.file = hostSecrets + "/ddclient-password.age"; };
|
||||||
|
|
||||||
services.ddclient = {
|
services.ddclient = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -13,4 +17,4 @@
|
||||||
passwordFile = config.age.secrets.ddclient-passwd.path;
|
passwordFile = config.age.secrets.ddclient-passwd.path;
|
||||||
domains = [ "@" ];
|
domains = [ "@" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue