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" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
../../modules/misc/logging.nix
|
../../modules/misc/logging.nix
|
||||||
../../modules/misc/motd.nix
|
../../modules/misc/motd.nix
|
||||||
../../modules/misc/kernel.nix
|
../../modules/misc/kernel.nix
|
||||||
|
../../modules/services/duckdns.nix
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
|||||||
Reference in New Issue
Block a user