aboutsummaryrefslogtreecommitdiff
path: root/modules/retired/kavita
diff options
context:
space:
mode:
Diffstat (limited to 'modules/retired/kavita')
-rw-r--r--modules/retired/kavita/default.nix28
1 files changed, 0 insertions, 28 deletions
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
- '';
-}