Hippocampus: add ddclient for dynamic dns
This commit is contained in:
14
machines/hippocampus/services/dyndns.nix
Normal file
14
machines/hippocampus/services/dyndns.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ config, pkgs, lib, ... }: {
|
||||
sops.secrets.ddclient = {};
|
||||
services.ddclient = {
|
||||
enable = true;
|
||||
use = "web, web=dynamicdns.park-your-domain.com/getip";
|
||||
protocol = "namecheap";
|
||||
server = "dynamicdns.park-your-domain.com";
|
||||
username = "crompton.cc";
|
||||
passwordFile = config.sops.secrets.ddclient.path;
|
||||
domains = [
|
||||
"@"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user