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