feat(ddns-updater): install and configure
This commit is contained in:
parent
dcbee4635b
commit
b7bb4c8e0b
2 changed files with 25 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
"caddy"
|
||||
"copyparty"
|
||||
"couchdb"
|
||||
"ddns-updater"
|
||||
"firefly"
|
||||
"homepage-dashboard"
|
||||
"immich"
|
||||
|
|
|
|||
24
modules/nixos/features/ddns-updater.nix
Normal file
24
modules/nixos/features/ddns-updater.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
services = {
|
||||
ddns-updater = {
|
||||
enable = true;
|
||||
environment = {
|
||||
CONFIG_FILEPATH = "/srv/ddns-updater/config.json";
|
||||
SERVER_ENABLED = "no";
|
||||
TZ = "Australia/Melbourne";
|
||||
};
|
||||
};
|
||||
|
||||
# borgmatic.settings = {
|
||||
# source_directories = [ ];
|
||||
# postgresql_databases = [
|
||||
# {
|
||||
# name = "ddns-updater";
|
||||
# hostname = "localhost";
|
||||
# username = "root";
|
||||
# password = "{credential systemd borgmatic-pg}";
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue