nixos-config/configs/workhorse/borg.nix
2020-09-01 23:43:03 +02:00

15 lines
280 B
Nix

{ lib, config, pkgs, ... }: {
services.borgbackup.repos = {
default = {
quota = "100G";
allowSubRepos = true;
authorizedKeysAppendOnly = [
# todo rename this one
(toString <common_secrets/backup/sftp-user_rsa.pub>)
];
};
};
}