challenger: update to nixos 25.05. Update to nextcloud 31

This commit is contained in:
2025-06-08 22:00:06 +02:00
parent 3f814a9d50
commit c4ea7efc9c
3 changed files with 11 additions and 5 deletions

View File

@@ -1,16 +1,18 @@
{ config, lib, pkgs, ... }:
let
domain = "komga.home.feal.no";
cfg = config.services.komga;
port = 5001;
in {
services.komga = {
enable = true;
stateDir = "/tank/media/komga";
port = 5001;
settings.server = {
inherit port;
};
};
services.nginx.virtualHosts.${domain} = {
locations."/".proxyPass = "http://127.0.0.1:${toString cfg.port}";
locations."/".proxyPass = "http://127.0.0.1:${toString port}";
extraConfig = ''
client_max_body_size 512M;