hosts/fs-01: add local borgmatic config
This commit is contained in:
@@ -18,6 +18,33 @@
|
||||
|
||||
syncthingserver.enable = true;
|
||||
|
||||
services.borgmatic = {
|
||||
enable = true;
|
||||
enableConfigCheck = true;
|
||||
|
||||
configurations.local = {
|
||||
source_directories = [ "/mnt/data/syncthing" ];
|
||||
repositories = [
|
||||
{
|
||||
label = "local";
|
||||
path = "";
|
||||
}
|
||||
];
|
||||
encryption_passphrase = "";
|
||||
|
||||
keep_daily = 7;
|
||||
keep_weekly = 4;
|
||||
keep_monthly = 12;
|
||||
keep_yearly = 3;
|
||||
|
||||
unknown_unencrypted_repo_access_is_ok = false;
|
||||
|
||||
healthchecks = {
|
||||
ping_url = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
base.userSSHKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEXuLe99meMiylrJQKz8/WqgHQWA8aJ/IZL+1SAVs8n2 etorres@xenon"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPWS4JI7h2B89m8bFT4CUzNmWViVy74CLDQXdhgxVnBk etorres@radon"
|
||||
|
Reference in New Issue
Block a user