chore(host/faunus-ater): drop restic rest service in favour of s3
This commit is contained in:
parent
040b508759
commit
822d5d4d10
|
@ -19,7 +19,6 @@ in {
|
|||
./modules/nix-serve.nix
|
||||
./modules/paperless.nix
|
||||
./modules/photoprism.nix
|
||||
./modules/restic.nix
|
||||
./modules/sdparm.nix
|
||||
./modules/seaweedfs.nix
|
||||
./modules/timetagger.nix
|
||||
|
|
|
@ -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"];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue