aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nix/wgautomesh.nix2
1 files changed, 1 insertions, 1 deletions
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)";
};