diff --git a/hosts/faunus-ater.nix b/hosts/faunus-ater.nix index 8d11249..7871249 100644 --- a/hosts/faunus-ater.nix +++ b/hosts/faunus-ater.nix @@ -252,6 +252,18 @@ in { }; }; + # === Komga, for my reading needs === + services.komga = { + enable = true; + stateDir = "/data/dirty/komga"; + }; + services.nginx.virtualHosts."read.home" = mkVirtHost { + locations."/" = { + proxyPass = "http://[::1]:${builtins.toString config.services.komga.port}"; + proxyWebsockets = true; + }; + }; + # === Photoprism === services.photoprism = { enable = true;