dotfiles/nixos/boxes/bolty/restic-server.nix

16 lines
294 B
Nix
Raw Normal View History

2022-12-19 09:09:08 +00:00
{
config,
pkgs,
...
}: {
environment.systemPackages = with pkgs; [restic];
networking.firewall.allowedTCPPorts = [8000];
2021-05-31 09:15:44 +01:00
services.restic.server = {
enable = true;
dataDir = "/data/restic";
appendOnly = true;
prometheus = true;
2022-12-19 09:09:08 +00:00
extraFlags = ["--no-auth"];
2021-05-31 09:15:44 +01:00
};
}