moved some excludes

This commit is contained in:
John Lancaster
2026-03-17 12:52:14 -05:00
parent d9fcbe68ad
commit 754e7cc1a0
2 changed files with 16 additions and 10 deletions

View File

@@ -19,6 +19,11 @@
type = lib.types.listOf lib.types.str;
default = [ ];
};
exclude = lib.mkOption {
description = "List of string paths to include in the backup. There are already some common ones included by default.";
type = lib.types.listOf lib.types.str;
default = [ ];
};
};
config = let
@@ -59,7 +64,7 @@
"--keep-weekly 8"
"--keep-monthly 12"
];
exclude = [
exclude = cfg.exclude ++ [
".cache"
".devenv"
".rustup"
@@ -69,6 +74,7 @@
".vscode*"
"data/postgres"
"build"
"dist"
"__pycache__"
"*.log"
"*.egg-info"
@@ -76,12 +82,6 @@
"*.m4a"
".local/share/Steam"
".local/share/Trash"
"dist"
"/home/*/Pictures"
"/home/*/Videos"
"/home/*/go"
"/home/*/snap"
"/home/john/john-nas"
];
};
};