nixos/warpgate: add settings.log.format

(cherry picked from commit 147c25bcef)
This commit is contained in:
Lemon Lam
2026-01-04 19:59:44 +08:00
parent a916c01d87
commit cfbd5b34b7

View File

@@ -283,6 +283,14 @@ in
};
};
log = {
format = mkOption {
description = "The format Warpgate emits logs in.";
default = "text";
type = enum [
"text"
"json"
];
};
retention = mkOption {
description = "How long Warpgate keep its logs.";
default = "7days";