From 9d9d84699bc1bce6aac253cb70e97c100d1e4c84 Mon Sep 17 00:00:00 2001 From: tdback Date: Thu, 23 Jan 2025 21:22:42 -0500 Subject: Retired modules have migrated to separate repo --- modules/retired/kavita/default.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 modules/retired/kavita/default.nix (limited to 'modules/retired/kavita') diff --git a/modules/retired/kavita/default.nix b/modules/retired/kavita/default.nix deleted file mode 100644 index 893eaef..0000000 --- a/modules/retired/kavita/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ ... }: -let - directories = [ - "/opt/kavita" - ]; -in -{ - systemd.tmpfiles.rules = map (x: "d ${x} 0755 share share - -") directories; - virtualisation.oci-containers.containers.kavita = { - image = "jvmilazz0/kavita:latest"; - autoStart = true; - ports = [ - "5000:5000" - ]; - volumes = [ - "/opt/kavita/config:/kavita/config" - "/tank/media/library/Books:/books" - ]; - environment = { - TZ = "America/Detroit"; - }; - }; - - services.caddy.virtualHosts."library.tdback.net".extraConfig = '' - encode zstd gzip - reverse_proxy http://localhost:5000 - ''; -} -- cgit v1.2.3