chore(host/faunus-ater): drop restic rest service in favour of s3

This commit is contained in:
Malte Tammena 2024-02-09 09:08:04 +01:00
parent 040b508759
commit 822d5d4d10
2 changed files with 0 additions and 20 deletions

View file

@ -19,7 +19,6 @@ in {
./modules/nix-serve.nix ./modules/nix-serve.nix
./modules/paperless.nix ./modules/paperless.nix
./modules/photoprism.nix ./modules/photoprism.nix
./modules/restic.nix
./modules/sdparm.nix ./modules/sdparm.nix
./modules/seaweedfs.nix ./modules/seaweedfs.nix
./modules/timetagger.nix ./modules/timetagger.nix

View file

@ -1,19 +0,0 @@
{lib, ...}: let
port = 8000;
in {
services.restic.server = {
enable = true;
dataDir = "/data/dirty/restic";
listenAddress = "0.0.0.0:${builtins.toString port}";
extraFlags = ["--no-auth"];
};
# Open firewall
networking.firewall.allowedTCPPorts = [port];
# TODO: This should be moved
systemd.services.restic-rest-server.unitConfig = {
Requires = lib.mkForce ["network.target"];
After = lib.mkForce ["network.target"];
};
}