[fix] module.nix: actually use extraArgs
This commit is contained in:
parent
0f2000ee7f
commit
46ce3e4a69
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue