Compare commits

2 Commits

Author SHA1 Message Date
John Lancaster
7205ea32a3 changed to xdg configHome 2025-08-01 22:59:07 -05:00
John Lancaster
553e691a8b adjusted restic options 2025-08-01 22:58:52 -05:00
3 changed files with 12 additions and 3 deletions

View File

@@ -14,10 +14,11 @@
backup = { backup = {
verbose = true; verbose = true;
exclude = [ exclude = [
".vscode-server" ".vscode*"
".cache" ".cache"
".venv" ".venv"
".pyenv" ".pyenv"
".devenv"
"data/postgres" "data/postgres"
"build" "build"
"__pycache__" "__pycache__"
@@ -25,6 +26,13 @@
"*.egg-info" "*.egg-info"
"*.csv" "*.csv"
"*.m4a" "*.m4a"
".local/share/Steam"
".local/share/Trash"
"build"
"dist"
"/home/*/Pictures"
"/home/*/Videos"
]; ];
schedule-permission = "user"; schedule-permission = "user";
schedule-priority = "background"; schedule-priority = "background";

View File

@@ -33,6 +33,7 @@ in {
keep-daily = 7; keep-daily = 7;
keep-weekly = 4; keep-weekly = 4;
keep-monthly = 6; keep-monthly = 6;
keep-yearly = 2;
}; };
}; };
}; };

View File

@@ -1,7 +1,7 @@
{ inputs, config, pkgs, lib, ... }: { inputs, config, pkgs, lib, ... }:
let let
sopsConfigPath = "${config.home.homeDirectory}/.config/home-manager/jsl-home/.sops.yaml"; sopsConfigPath = "${config.xdg.configHome}/home-manager/jsl-home/.sops.yaml";
sopsSecretsPath = "${config.home.homeDirectory}/.config/home-manager/jsl-home/keys/secrets.yaml"; sopsSecretsPath = "${config.xdg.configHome}/home-manager/jsl-home/keys/secrets.yaml";
in in
{ {
imports = [ imports = [