From bc1a3dad085557c877c5fcb7d15bea9901e1dc4e Mon Sep 17 00:00:00 2001 From: Louis Pearson Date: Sun, 7 Jan 2024 23:08:10 -0700 Subject: [PATCH] feat: add kavita --- configuration.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configuration.nix b/configuration.nix index a761b9e..47e03fa 100644 --- a/configuration.nix +++ b/configuration.nix @@ -98,6 +98,13 @@ services.jellyfin.enable = true; + services.kavita = { + enable = true; + tokenKeyFile = "/var/kavita-token-key"; + # Uh, typo in the service definition + ipAdresses = [ "127.0.0.1" "::1" ]; + }; + services.glauth = { enable = true; settings = { @@ -431,6 +438,11 @@ bind 100.64.0.3 reverse_proxy localhost:5556 ''; + + virtualHosts."kavita.samsehu.perli.casa".extraConfig = '' + bind 100.64.0.3 192.168.0.69 + reverse_proxy localhost:5000 + ''; }; # Headscale for access to the network while away from home @@ -457,8 +469,12 @@ { name = "git.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "nextcloud.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "glauth.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } +<<<<<<< HEAD { name = "dex.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "jellyfin.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } +======= + { name = "kavita.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } +>>>>>>> 2173c83 (feat: add kavita) ]; };