summary refs log tree commit diff
path: root/nixos/modules/services/networking/cntlm.nix
diff options
context:
space:
mode:
authorScriptkiddi <fritz@otlinghaus.it>2021-01-26 20:29:55 +0100
committerCole Helbling <cole.e.helbling@outlook.com>2021-01-26 13:17:19 -0800
commit5f472181f24ca81048e77fef9e135b1fc73e58e6 (patch)
tree24616f6b50006b22b6127c26de3f40f03be85d6e /nixos/modules/services/networking/cntlm.nix
parent6d96b2655ea884c5a0a9a148671419ca110ace01 (diff)
downloadnixpkgs-5f472181f24ca81048e77fef9e135b1fc73e58e6.tar
nixpkgs-5f472181f24ca81048e77fef9e135b1fc73e58e6.tar.gz
nixpkgs-5f472181f24ca81048e77fef9e135b1fc73e58e6.tar.bz2
nixpkgs-5f472181f24ca81048e77fef9e135b1fc73e58e6.tar.lz
nixpkgs-5f472181f24ca81048e77fef9e135b1fc73e58e6.tar.xz
nixpkgs-5f472181f24ca81048e77fef9e135b1fc73e58e6.tar.zst
nixpkgs-5f472181f24ca81048e77fef9e135b1fc73e58e6.zip
nixos/cntlm: add types
Diffstat (limited to 'nixos/modules/services/networking/cntlm.nix')
-rw-r--r--nixos/modules/services/networking/cntlm.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/cntlm.nix b/nixos/modules/services/networking/cntlm.nix
index c8e08fdefaa..eea28e12ce0 100644
--- a/nixos/modules/services/networking/cntlm.nix
+++ b/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.";
     };