diff --git a/nix/wgautomesh.nix b/nix/wgautomesh.nix index 5a1480c..c64c4af 100644 --- a/nix/wgautomesh.nix +++ b/nix/wgautomesh.nix @@ -15,7 +15,7 @@ in options.services.wgautomesh = { enable = mkEnableOption "wgautomesh"; logLevel = mkOption { - type = types.str; + type = types.enum [ "trace" "debug" "info" "warn" "error" ]; default = "info"; description = "wgautomesh log level (trace/debug/info/warn/error)"; };