enhancement/15 #16

Merged
wi11-holdsworth merged 4 commits from enhancement/15 into main 2025-09-29 22:54:08 +10:00
Showing only changes of commit 5e02f19583 - Show all commits

View file

@ -1,6 +1,7 @@
{
config,
lib,
pkgs,
userName,
hostName,
...
@ -62,6 +63,27 @@ in
};
};
# backup
borgbackup.jobs =
# we only need one syncthing host to be backed up
# choose server because borgbackup is the most fleshed out
# on srv currently
if userName == "srv" then
import ../backup.nix feature
{
paths = [
"/home/srv/.config/syncthing"
"/home/srv/Sync"
];
}
{
inherit config;
inherit lib;
inherit pkgs;
}
else
null;
# reverse proxy
nginx = {
virtualHosts."${feature}.fi33.buzz" = {