From 6402019051e43569ba895d183335da76fba22fe2 Mon Sep 17 00:00:00 2001 From: Lemon Lam Date: Wed, 19 Aug 2026 11:51:19 +0800 Subject: [PATCH] nixos/warpgate: drop `settings.recordings` (cherry picked from commit fdfbcde1ef0635d9231052e726013566bf63bf71) --- nixos/modules/services/security/warpgate.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/nixos/modules/services/security/warpgate.nix b/nixos/modules/services/security/warpgate.nix index 42c8798295e4..6fc3efdca8f3 100644 --- a/nixos/modules/services/security/warpgate.nix +++ b/nixos/modules/services/security/warpgate.nix @@ -120,18 +120,6 @@ in ] ''; }; - recordings = { - enable = mkOption { - description = "Whether to enable session recording."; - default = true; - type = bool; - }; - path = mkOption { - description = "Path to store session recordings."; - default = "/var/lib/warpgate/recordings"; - type = str; - }; - }; external_host = mkOption { description = '' Configure the domain name of this Warpgate instance. @@ -582,6 +570,10 @@ in assertion = !(lib.hasAttr "config_provider" cfg.settings); message = "`services.warpgate.settings.config_provider` is a legacy option that has been removed since 0.14.0. Please do not set this option."; } + { + assertion = !(lib.hasAttr "recordings" cfg.settings); + message = "`services.warpgate.settings.recordings` has been deprecated by S3 recording storage support in 0.27.0. Please remove this section from your config and set it from admin UI."; + } ]; environment.systemPackages = [ cfg.package ];