2024-05-08 11:03:22 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
# dynamic dns
|
|
|
|
users.users.ddns = {
|
|
|
|
isSystemUser = true;
|
|
|
|
group = "ddns";
|
|
|
|
};
|
|
|
|
users.groups.ddns = {};
|
|
|
|
systemd.services.ddns-updater = {
|
|
|
|
enable = true;
|
|
|
|
serviceConfig.User = "ddns";
|
|
|
|
path = [ pkgs.curl ];
|
2024-05-28 08:56:45 +02:00
|
|
|
script = "${../../nix-secrets/dafoe/ddns/update}";
|
2024-05-08 11:03:22 +02:00
|
|
|
startAt = "hourly";
|
|
|
|
};
|
|
|
|
}
|