From 46ce3e4a69cbc0899fde27f6834764500e79d9f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 2 Jun 2024 15:52:49 +0200 Subject: [PATCH] [fix] module.nix: actually use extraArgs --- module.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 58658ac..e44b2a5 100644 --- a/module.nix +++ b/module.nix @@ -17,6 +17,9 @@ in { description = '' Extra arguments to be passed to the webnsupdate server command. ''; + type = types.listOf types.str; + default = []; + example = ["--ip-source"]; }; bindIp = mkOption { description = '' @@ -117,7 +120,7 @@ in { (builtins.toString cfg.bindPort) "--ttl" (builtins.toString cfg.ttl) - ]; + ] ++ cfg.extraArgs; cmd = "${lib.getExe pkgs.webnsupdate} ${args}"; in lib.mkIf cfg.enable {