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 = {
|
||||
# keep-sorted start block=yes
|
||||
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}";
|
||||
ssh_command = "ssh -i /home/srv/.ssh/id_ed25519";
|
||||
keep_daily = 7;
|
||||
keep_monthly = 6;
|
||||
keep_weekly = 4;
|
||||
keep_yearly = 1;
|
||||
ntfy = {
|
||||
topic = "backups";
|
||||
server = config.services.ntfy-sh.settings.base-url;
|
||||
|
|
@ -50,8 +37,21 @@ in
|
|||
"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;
|
||||
retry_wait = 10;
|
||||
ssh_command = "ssh -i /home/srv/.ssh/id_ed25519";
|
||||
# keep-sorted end
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ let
|
|||
in
|
||||
{
|
||||
# keep-sorted start
|
||||
"borgmatic.age".publicKeys = users;
|
||||
"borgmatic-pg.age".publicKeys = users;
|
||||
"borgmatic.age".publicKeys = users;
|
||||
"copyparty-will.age".publicKeys = users;
|
||||
"immich.age".publicKeys = users;
|
||||
"jellyfin.age".publicKeys = users;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue