Skip to content

Commit

Permalink
fix(backup): added new directory/files to exclude list
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Jan 15, 2024
1 parent cfc0fe1 commit abd66fb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
13 changes: 11 additions & 2 deletions modules/services/backup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,18 @@ let
.jdks
.npm
.vagrant.d
.rustup
.nuget
.emacs.d
.paradoxlauncher
.local/share/Steam/***
.local/share/virtualenvs
.local/share/JetBrains/Toolbox/apps/*
.local/share/JetBrains
.local/share/*-launcher
.local/share/bottles
.local/share/PrismaLauncher
.local/share/openttd
.local/share/lutris
.local/share/Trash
**/*/node_modules
**/*/venv
Expand All @@ -30,7 +38,8 @@ let
go/**/*
git
'';
in {
in
{
options = {
modules.services.backup = {
enable = mkEnableOption "Enable Backup service";
Expand Down
5 changes: 5 additions & 0 deletions modules/services/filebot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ in
[Archives]
src = [ "$HOME/Downloads/*.(zip|tar*)" ]
dest = "$HOME/Documents"
[Iso]
src = [ "$HOME/Downloads/*.iso" ]
moveToTrash = true
after = 1
'';
};
};
Expand Down

0 comments on commit abd66fb

Please sign in to comment.