Nix-Configs/configs/programs/restic.nix

53 lines
1.5 KiB
Nix

let paths = [
"**/.venv/"
"**/cache/"
"**/.cache/"
"**/Cache/"
"**/dist/" # npm build directory
"**/node_modules/"
"**/__pycache__/"
"**/.clj-kondo/"
"**/.lsp/"
"**/target/"
"/home/ember/.cabal/"
"/home/ember/.cache/"
"/home/ember/.clojure/"
"/home/ember/.conan/"
"/home/ember/.config/rclone/rclone.conf"
"/home/ember/.config/syncthing/index-v*.db/"
"/home/ember/.config/archivewebpage/IndexedDB"
"/home/ember/.config/archivewebpage/**/Cache*/"
"/home/ember/.ghcup/"
"/home/ember/.lein"
"/home/ember/.local/share/gvfs-metadata/"
"/home/ember/.m2/"
"/home/ember/.mozilla"
"/home/ember/.npm/"
"/home/ember/.opam/"
"/home/ember/.pki/"
"/home/ember/.pub-cache/"
"/home/ember/.rustup/"
"/home/ember/.stack/"
"/home/ember/.var/app/*/cache/"
"/home/ember/.var/app/org.mozilla.firefox/"
"/home/ember/.var/app/org.gimp.GIMP/"
"/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.Lollypop"
"/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/flatpak/"
"/home/ember/.local/share/Trash/"
"/home/ember/.local/share/Steam/"
"/home/ember/.local/state/wireplumber/"
"/home/ember/.local/lib/"
"/home/ember/.TinyTeX/"
"/home/ember/Development/mystic-stack/**/data/"
"/home/ember/Annex"
"/home/ember/Temp"
"/home/ember/Torrents"
];
in
builtins.toFile "excludes.txt" (builtins.concatStringsSep "\n" paths)