nixos/stash: Fix regex in default value

`\.` in a Nix string is just `.`, so it will match on any characters
instead of just dot.
This commit is contained in:
piegames
2025-05-01 13:18:19 +02:00
parent a68c7dffbd
commit 8a71705aba
+1 -1
View File
@@ -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 {