general: modularize borg/rsync config
This commit is contained in:
parent
db0040dcf4
commit
a739323b41
6 changed files with 84 additions and 99 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue