nixos-config/nixos/machines/robi/borg.nix
Ingolf Wagner 02c51206fe
add proper borg setup for cream
add jobrad
2023-03-09 18:32:08 +01:00

18 lines
344 B
Nix

{ lib, config, pkgs, ... }: {
backup.enable = true;
# provide repository
services.borgbackup.repos = {
default = {
quota = "300G";
allowSubRepos = true;
authorizedKeys = [
(lib.fileContents ../../assets/ssh/borg_access.pub)
(lib.fileContents ../../assets/ssh/palo_rsa.pub)
];
};
};
}