general: modularize borg/rsync config

This commit is contained in:
Fabian Montero 2025-08-28 14:41:54 -06:00
parent db0040dcf4
commit a739323b41
Signed by: fabian
GPG key ID: 1FFAC35E1798174F
6 changed files with 84 additions and 99 deletions

View file

@ -15,11 +15,20 @@ with lib; {
./hardware-configuration.nix
./srv
./networkMap.nix
./borg.nix
];
local.sys = {
baseline.enable = true;
borgsync = {
enable = true;
paths = [
"/var/lib/forgejo"
"/var/lib/mealie"
"/var/lib/trilium"
];
repoName = "vps";
};
users.fabian = {
enable = true;