2024-11-15 10:17:56 +01:00
|
|
|
{ lib, config, ... }:
|
|
|
|
let
|
2023-08-08 17:53:01 +02:00
|
|
|
cfg = config.services.ddclient-hetzner;
|
2024-11-15 10:17:56 +01:00
|
|
|
in
|
|
|
|
{
|
2023-08-08 17:53:01 +02:00
|
|
|
options.services.ddclient-hetzner = with lib; {
|
|
|
|
enable = mkEnableOption "Enable ddclient-hetzner";
|
2024-11-15 10:17:56 +01:00
|
|
|
zone = mkOption { type = types.str; };
|
|
|
|
domains = mkOption { type = types.listOf types.str; };
|
|
|
|
passwordFile = mkOption { type = types.path; };
|
2023-08-08 17:53:01 +02:00
|
|
|
};
|
|
|
|
}
|