16 lines
298 B
Nix
16 lines
298 B
Nix
|
{ lib, config, pkgs, ... }: {
|
||
|
|
||
|
# provide borg backup repository
|
||
|
services.borgbackup.repos = {
|
||
|
default = {
|
||
|
quota = "100G";
|
||
|
allowSubRepos = true;
|
||
|
authorizedKeys = [
|
||
|
# todo rename
|
||
|
(lib.fileContents <common_secrets/backup/ssh_rsa.pub>)
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|