style: run pre-commit hook
This commit is contained in:
parent
645ff81297
commit
6daa32c222
2 changed files with 18 additions and 18 deletions
|
|
@ -14,24 +14,11 @@ in
|
||||||
settings = {
|
settings = {
|
||||||
# keep-sorted start block=yes
|
# keep-sorted start block=yes
|
||||||
compression = "auto,zlib";
|
compression = "auto,zlib";
|
||||||
keep_daily = 7;
|
|
||||||
keep_weekly = 4;
|
|
||||||
keep_monthly = 6;
|
|
||||||
keep_yearly = 1;
|
|
||||||
repositories = [
|
|
||||||
{
|
|
||||||
path = "/backup/repo";
|
|
||||||
label = "onsite";
|
|
||||||
# encryption = "repokey-blake2";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
path = "ssh://vuc5c3xq@vuc5c3xq.repo.borgbase.com/./repo";
|
|
||||||
label = "offsite";
|
|
||||||
# encryption = "repokey-blake2";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
encryption_passcommand = "cat ${config.age.secrets.borgmatic.path}";
|
encryption_passcommand = "cat ${config.age.secrets.borgmatic.path}";
|
||||||
ssh_command = "ssh -i /home/srv/.ssh/id_ed25519";
|
keep_daily = 7;
|
||||||
|
keep_monthly = 6;
|
||||||
|
keep_weekly = 4;
|
||||||
|
keep_yearly = 1;
|
||||||
ntfy = {
|
ntfy = {
|
||||||
topic = "backups";
|
topic = "backups";
|
||||||
server = config.services.ntfy-sh.settings.base-url;
|
server = config.services.ntfy-sh.settings.base-url;
|
||||||
|
|
@ -50,8 +37,21 @@ in
|
||||||
"fail"
|
"fail"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
repositories = [
|
||||||
|
{
|
||||||
|
path = "/backup/repo";
|
||||||
|
label = "onsite";
|
||||||
|
# encryption = "repokey-blake2";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
path = "ssh://vuc5c3xq@vuc5c3xq.repo.borgbase.com/./repo";
|
||||||
|
label = "offsite";
|
||||||
|
# encryption = "repokey-blake2";
|
||||||
|
}
|
||||||
|
];
|
||||||
retries = 3;
|
retries = 3;
|
||||||
retry_wait = 10;
|
retry_wait = 10;
|
||||||
|
ssh_command = "ssh -i /home/srv/.ssh/id_ed25519";
|
||||||
# keep-sorted end
|
# keep-sorted end
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# keep-sorted start
|
# keep-sorted start
|
||||||
"borgmatic.age".publicKeys = users;
|
|
||||||
"borgmatic-pg.age".publicKeys = users;
|
"borgmatic-pg.age".publicKeys = users;
|
||||||
|
"borgmatic.age".publicKeys = users;
|
||||||
"copyparty-will.age".publicKeys = users;
|
"copyparty-will.age".publicKeys = users;
|
||||||
"immich.age".publicKeys = users;
|
"immich.age".publicKeys = users;
|
||||||
"jellyfin.age".publicKeys = users;
|
"jellyfin.age".publicKeys = users;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue