dotfiles/nixos/boxes/brix/restic-server.nix
Cyryl Płotnicki 9f8d4dbf1b add agenix
2021-05-31 10:27:19 +01:00

12 lines
208 B
Nix

{ config, pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 8000 ];
services.restic.server = {
enable = true;
dataDir = "/data/restic";
appendOnly = true;
prometheus = true;
};
}