nixos-config/nixos/machines/robi/borg.nix

19 lines
344 B
Nix
Raw Normal View History

2021-12-28 16:19:29 +01:00
{ lib, config, pkgs, ... }: {
backup.enable = true;
# provide repository
2022-02-01 16:20:41 +01:00
services.borgbackup.repos = {
default = {
quota = "300G";
allowSubRepos = true;
authorizedKeys = [
(lib.fileContents ../../assets/ssh/borg_access.pub)
2022-09-23 20:29:18 +02:00
(lib.fileContents ../../assets/ssh/palo_rsa.pub)
2022-02-01 16:20:41 +01:00
];
};
};
2021-12-28 16:19:29 +01:00
}