dotfiles/nixos/boxes/brix/restic-server.nix
Cyryl Płotnicki 04b7c3c774 upgrade restic
2021-05-31 22:01:51 +01:00

14 lines
279 B
Nix

{ config, pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 8000 ];
services.restic.server = {
enable = true;
dataDir = "/data/restic";
appendOnly = true;
prometheus = true;
listenAddress = "brix.vpn:8000";
extraFlags = [ "--no-auth" ];
};
}