3
0
Fork 0
forked from mirrors/nixpkgs

nixos/cntlm: add types

This commit is contained in:
Scriptkiddi 2021-01-26 20:29:55 +01:00 committed by Cole Helbling
parent 6d96b2655e
commit 5f472181f2

View file

@ -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.";
};