duckdns
This commit is contained in:
11
modules/services/duckdns.nix
Normal file
11
modules/services/duckdns.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
{
|
||||
age.secrets.duckdns = {
|
||||
file = ../../secrets/duckdns.age;
|
||||
};
|
||||
services.duckdns = {
|
||||
enable = true;
|
||||
tokenFile = config.age.secrets.duckdns.path;
|
||||
domains = [ "kavita-kopatz" ];
|
||||
};
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
{
|
||||
age.secrets.duckdns = {
|
||||
file = ../../secrets/duckdns.age;
|
||||
};
|
||||
services.ddclient = {
|
||||
enable = true;
|
||||
protocol = "duckdns";
|
||||
passwordFile = config.age.secrets.duckdns.path;
|
||||
domains = [ "wachbirn.duckdns.org" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user