nixos-config/legacy/borg.nix

17 lines
227 B
Nix

{ lib, config, pkgs, ... }: {
backup.enable = true;
# provide repository
services.borgbackup.repos = {
default = {
quota = "300G";
allowSubRepos = true;
authorizedKeys = [
];
};
};
}