phase 2: move home-manager/ → home/{profiles,progs,util,wallpaper}

This commit is contained in:
primary
2026-04-18 00:48:08 -04:00
parent 30d8cf4c99
commit d13cec76ba
27 changed files with 0 additions and 0 deletions

38
home/progs/borg.nix Normal file
View File

@@ -0,0 +1,38 @@
{ pkgs, homeDirectory, ... }:
{
programs.borgmatic = {
enable = true;
package = pkgs.borgmatic;
backups = {
home = {
location = {
sourceDirectories = (
map (f: "${homeDirectory}/${f}") [
".local/share/fish"
".ssh"
"Documents"
"projects"
"Pictures"
"school"
]
);
excludeHomeManagerSymlinks = true;
repositories = [ "ssh://server-public/tank/bak/laptop" ];
extraConfig = {
compression = "zstd";
};
};
retention = {
keepHourly = 10;
keepDaily = 30;
keepWeekly = 8;
keepMonthly = 2;
keepYearly = 0;
};
};
};
};
}