+74
-8
nixos/modules/services/networking/kea.nix
+74
-8
nixos/modules/services/networking/kea.nix
···+ctrlAgentConfig = chooseNotNull cfg.ctrl-agent.configFile (format.generate "kea-ctrl-agent.conf" {+dhcpDdnsConfig = chooseNotNull cfg.dhcp-ddns.configFile (format.generate "kea-dhcp-ddns.conf" {···+Kea Control Agent configuration as a path, see <link xlink:href="https://kea.readthedocs.io/en/kea-${package.version}/arm/agent.html"/>.+Most users should prefer using <link linkend="opt-services.kea.ctrl-agent.settings">settings</link> instead.···+Kea DHCP4 configuration as a path, see <link xlink:href="https://kea.readthedocs.io/en/kea-${package.version}/arm/dhcp4-srv.html"/>.+Most users should prefer using <link linkend="opt-services.kea.dhcp4.settings">settings</link> instead.···+Kea DHCP6 configuration as a path, see <link xlink:href="https://kea.readthedocs.io/en/kea-${package.version}/arm/dhcp6-srv.html"/>.+Most users should prefer using <link linkend="opt-services.kea.dhcp6.settings">settings</link> instead.···+Kea DHCP-DDNS configuration as a path, see <link xlink:href="https://kea.readthedocs.io/en/kea-${package.version}/arm/ddns.html"/>.+Most users should prefer using <link linkend="opt-services.kea.dhcp-ddns.settings">settings</link> instead.···+message = "Either services.kea.ctrl-agent.settings or services.kea.ctrl-agent.configFile must be set to a non-null value.";···+message = "Either services.kea.dhcp4.settings or services.kea.dhcp4.configFile must be set to a non-null value.";···+message = "Either services.kea.dhcp6.settings or services.kea.dhcp6.configFile must be set to a non-null value.";···+message = "Either services.kea.dhcp-ddns.settings or services.kea.dhcp-ddns.configFile must be set to a non-null value.";