From 822d5d4d104ba6996af602f3eda2cf9a1e1bbe15 Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Fri, 9 Feb 2024 09:08:04 +0100 Subject: [PATCH] chore(host/faunus-ater): drop restic rest service in favour of s3 --- hosts/faunus-ater/default.nix | 1 - hosts/faunus-ater/modules/restic.nix | 19 ------------------- 2 files changed, 20 deletions(-) delete mode 100644 hosts/faunus-ater/modules/restic.nix diff --git a/hosts/faunus-ater/default.nix b/hosts/faunus-ater/default.nix index 0734673..35e436e 100644 --- a/hosts/faunus-ater/default.nix +++ b/hosts/faunus-ater/default.nix @@ -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 diff --git a/hosts/faunus-ater/modules/restic.nix b/hosts/faunus-ater/modules/restic.nix deleted file mode 100644 index 06b086a..0000000 --- a/hosts/faunus-ater/modules/restic.nix +++ /dev/null @@ -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"]; - }; -}