nixos-config/configs/workhorse/borg.nix
2020-09-04 01:09:59 +02:00

14 lines
263 B
Nix

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