dotfiles/nixos/boxes/bolty/restic-server.nix
Cyryl Płotnicki 61651d8c04 add bolty
2021-10-01 10:06:37 +01:00

13 lines
242 B
Nix

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