2021-05-31 09:15:44 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [ 8000 ];
|
|
|
|
services.restic.server = {
|
|
|
|
enable = true;
|
|
|
|
dataDir = "/data/restic";
|
|
|
|
appendOnly = true;
|
|
|
|
prometheus = true;
|
2021-06-12 15:46:26 +01:00
|
|
|
listenAddress = "brix:8000";
|
2021-05-31 22:01:51 +01:00
|
|
|
extraFlags = [ "--no-auth" ];
|
2021-05-31 09:15:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|