diff options
author | Eric Sagnes <eric.sagnes@gmail.com> | 2016-11-16 22:36:53 +0900 |
---|---|---|
committer | Eric Sagnes <eric.sagnes@gmail.com> | 2016-11-16 22:36:53 +0900 |
commit | 5259fb218103cd3111e2534e941362b80d48043f (patch) | |
tree | e95f5757cbc5292a7b5c4594ff50857416de1deb /nixos/modules/services/networking/nntp-proxy.nix | |
parent | fb26d561ed47be24d1288599f4579a4f5c0f360d (diff) | |
download | nixpkgs-5259fb218103cd3111e2534e941362b80d48043f.tar nixpkgs-5259fb218103cd3111e2534e941362b80d48043f.tar.gz nixpkgs-5259fb218103cd3111e2534e941362b80d48043f.tar.bz2 nixpkgs-5259fb218103cd3111e2534e941362b80d48043f.tar.lz nixpkgs-5259fb218103cd3111e2534e941362b80d48043f.tar.xz nixpkgs-5259fb218103cd3111e2534e941362b80d48043f.tar.zst nixpkgs-5259fb218103cd3111e2534e941362b80d48043f.zip |
nntp-proxy module: use enum
Diffstat (limited to 'nixos/modules/services/networking/nntp-proxy.nix')
-rw-r--r-- | nixos/modules/services/networking/nntp-proxy.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/nntp-proxy.nix b/nixos/modules/services/networking/nntp-proxy.nix index dca8ccac762..7eebecb23b0 100644 --- a/nixos/modules/services/networking/nntp-proxy.nix +++ b/nixos/modules/services/networking/nntp-proxy.nix @@ -148,11 +148,11 @@ in }; verbosity = mkOption { - type = types.str; + type = types.enum [ "error" "warning" "notice" "info" "debug" ]; default = "info"; example = "error"; description = '' - Verbosity level (error, warning, notice, info, debug) + Verbosity level ''; }; |