From 147c25bcef02bfb19af23b7604b46588599cb3e6 Mon Sep 17 00:00:00 2001 From: Lemon Lam Date: Sun, 4 Jan 2026 19:59:44 +0800 Subject: [PATCH] nixos/warpgate: add `settings.log.format` --- nixos/modules/services/security/warpgate.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/services/security/warpgate.nix b/nixos/modules/services/security/warpgate.nix index a52d0eefcb42..7d6f2ca2596c 100644 --- a/nixos/modules/services/security/warpgate.nix +++ b/nixos/modules/services/security/warpgate.nix @@ -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";