This commit is contained in:
nora 2025-08-07 19:54:43 +02:00
parent 9856757b52
commit 1e4973049f
9 changed files with 58 additions and 218 deletions

View file

@ -5,7 +5,7 @@ let
"https://github.com/C0RR1T/HugoChat/releases/download/2024-08-05/HugoServer.jar";
hash = "sha256-hCe2UPqrSR6u3/UxsURI2KzRxN5saeTteCRq5Zfay4M=";
};
hugo-chat-client = fetchTarball {
hugo-chat-client = pkgs.fetchzip {
url =
"https://github.com/C0RR1T/HugoChat/releases/download/2024-08-05/hugo-client.tar.xz";
sha256 = "sha256:121ai8q6bm7gp0pl1ajfk0k2nrfg05zid61i20z0j5gpb2qyhsib";
@ -36,7 +36,7 @@ in
environment = {
PGDATA = "/var/lib/postgresql/data/pgdata";
};
extraOptions = [ "--network=hugo-chat" ];
extraOptions = [ "--cgroup-manager=cgroupfs" "--cgroup-parent=/system.slice/podman-hugo-chat-db.service" ];
environmentFiles = [ config.age.secrets.hugochat_db_password.path ];
};
};