Nix-Configs/configs/programs/restic.nix

35 lines
1 KiB
Nix
Raw Normal View History

2023-02-19 03:07:44 +00:00
let paths = [
"**/.venv/"
"**/cache/"
"**/Cache/"
"**/node_modules/"
"/home/ember/.cabal/"
"/home/ember/.cache/"
"/home/ember/.conan/"
"/home/ember/.config/syncthing/index-v*.db/"
"/home/ember/.config/archivewebpage/IndexedDB"
"/home/ember/.config/archivewebpage/**/Cache*/"
"/home/ember/.ghcup/"
"/home/ember/.mozilla"
"/home/ember/.npm/"
"/home/ember/.pki/"
"/home/ember/.rustup/"
"/home/ember/.stack/"
"/home/ember/.var/app/*/cache/"
"/home/ember/.var/app/org.mozilla.firefox/"
"/home/ember/.var/app/org.gnome.Geary/data/"
"/home/ember/.var/app/app.organicmaps.desktop/"
"/home/ember/.var/app/com.valvesoftware.Steam/"
"/home/ember/.var/app/org.gnome.Podcasts/cache/"
"/home/ember/.var/app/org.gnome.Podcasts/data/"
"/home/ember/.local/share/containers/"
"/home/ember/.local/share/Trash/"
"/home/ember/.local/share/Steam/"
"/home/ember/.local/lib/"
"/home/ember/.TinyTeX/"
"/home/ember/Development/mystic-stack/**/data/"
"/home/ember/Annex"
"/home/ember/Temp"
];
in
builtins.toFile "excludes.txt" (builtins.concatStringsSep "\n" paths)