forked from Deuxfleurs/nixcfg
use nix enum type
This commit is contained in:
parent
90efd9155b
commit
6ffaa0ed91
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ in
|
||||||
options.services.wgautomesh = {
|
options.services.wgautomesh = {
|
||||||
enable = mkEnableOption "wgautomesh";
|
enable = mkEnableOption "wgautomesh";
|
||||||
logLevel = mkOption {
|
logLevel = mkOption {
|
||||||
type = types.str;
|
type = types.enum [ "trace" "debug" "info" "warn" "error" ];
|
||||||
default = "info";
|
default = "info";
|
||||||
description = "wgautomesh log level (trace/debug/info/warn/error)";
|
description = "wgautomesh log level (trace/debug/info/warn/error)";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue