nixos-config/configs/workhorse/borg.nix

15 lines
280 B
Nix
Raw Normal View History

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