2021-12-28 16:19:29 +01:00
|
|
|
{ lib, config, pkgs, ... }: {
|
|
|
|
|
2023-03-07 16:21:46 +01:00
|
|
|
backup.enable = true;
|
|
|
|
|
|
|
|
# provide repository
|
2022-02-01 16:20:41 +01:00
|
|
|
services.borgbackup.repos = {
|
|
|
|
default = {
|
|
|
|
quota = "300G";
|
|
|
|
allowSubRepos = true;
|
|
|
|
authorizedKeys = [
|
|
|
|
(lib.fileContents ../../assets/ssh/borg_access.pub)
|
2022-09-23 20:29:18 +02:00
|
|
|
(lib.fileContents ../../assets/ssh/palo_rsa.pub)
|
2022-02-01 16:20:41 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2021-12-28 16:19:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
}
|