From 8a71705aba961e761c9490f291a575ea0fcd0549 Mon Sep 17 00:00:00 2001 From: piegames Date: Thu, 1 May 2025 12:56:37 +0200 Subject: [PATCH] nixos/stash: Fix regex in default value `\.` in a Nix string is just `.`, so it will match on any characters instead of just dot. --- nixos/modules/services/web-apps/stash.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/stash.nix b/nixos/modules/services/web-apps/stash.nix index 60c8ad8a8eb4..47f66edb7ddb 100644 --- a/nixos/modules/services/web-apps/stash.nix +++ b/nixos/modules/services/web-apps/stash.nix @@ -225,7 +225,7 @@ let }; gallery_cover_regex = mkOption { type = types.str; - default = "(poster|cover|folder|board)\.[^\.]+$"; + default = "(poster|cover|folder|board)\\.[^.]+$"; description = "Regex used to identify images as gallery covers"; }; no_proxy = mkOption {