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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user