2020-09-01 23:43:03 +02:00
|
|
|
{ lib, config, pkgs, ... }: {
|
|
|
|
|
|
|
|
services.borgbackup.repos = {
|
|
|
|
default = {
|
|
|
|
quota = "100G";
|
|
|
|
allowSubRepos = true;
|
2020-09-04 00:49:35 +02:00
|
|
|
authorizedKeys = [
|
|
|
|
# todo rename
|
|
|
|
(lib.fileContents <common_secrets/backup/ssh_rsa.pub>)
|
2020-09-05 14:37:49 +02:00
|
|
|
(lib.fileContents <assets/ssh/card_rsa.pub>)
|
2020-09-01 23:43:03 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|