fix(restic): include hidden files & extend ignorePatterns

This commit is contained in:
Felix Schröter 2022-05-15 15:38:12 +02:00
parent 75c5f1c85d
commit 2977d1445d
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 4 additions and 0 deletions

View file

@ -33,6 +33,7 @@ in {
(foldl (a: b: a + "\n" + b) "" ignorePatterns);
in ''
${pkgs.ripgrep}/bin/rg \
--hidden \
--files ${files} \
--ignore-file ${ignoreFile} \
| sed "s/\[/\\\[/" | sed "s/\]/\\\]/"