nixos/cntlm: add types

wip/yesman
Scriptkiddi 3 years ago committed by Cole Helbling
parent 6d96b2655e
commit 5f472181f2
  1. 5
      nixos/modules/services/networking/cntlm.nix

@ -36,12 +36,14 @@ in
enable = mkEnableOption "cntlm, which starts a local proxy";
username = mkOption {
type = types.str;
description = ''
Proxy account name, without the possibility to include domain name ('at' sign is interpreted literally).
'';
};
domain = mkOption {
type = types.str;
description = "Proxy account domain/workgroup name.";
};
@ -60,6 +62,7 @@ in
};
proxy = mkOption {
type = types.listOf types.str;
description = ''
A list of NTLM/NTLMv2 authenticating HTTP proxies.
@ -75,11 +78,13 @@ in
A list of domains where the proxy is skipped.
'';
default = [];
type = types.listOf types.str;
example = [ "*.example.com" "example.com" ];
};
port = mkOption {
default = [3128];
type = types.listOf types.port;
description = "Specifies on which ports the cntlm daemon listens.";
};

Loading…
Cancel
Save