nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 0bf0a94ca4bed9a93491a14e493d93aab2b3c8bd
parent 7ecae0be4ec50f8b7153c638402d397d30a7ebff
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Thu,  7 Aug 2025 17:19:20 +0100

Finally fix the CSS

Weird bug where mounting anything in /config mangled the private and public directories. Long winded workaround but works

Diffstat:
Mcommon/docker.nix | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/docker.nix b/common/docker.nix @@ -84,11 +84,11 @@ h5ai = { autoStart = true; dependsOn = [ "caddy" ]; + environment = { PGID = "100"; PUID = "1000"; TZ = "${timezone}";}; image = "awesometic/h5ai"; labels = { "caddy" = "pub.${domain}"; "caddy.reverse_proxy" = "{{upstreams 80}}"; "caddy.basic_auth" = "/.tank/*"; "caddy.basic_auth.${username}" = "${htpasswd}";}; networks = [ "proxy" ]; - # volumes = [ "/home/${username}/vault/pub:/h5ai:ro" "/home/${username}/vault/src/nix-configs/resources/h5ai.css:/config/h5ai/_h5ai/public/css/styles.css" ]; - volumes = [ "/home/${username}/vault/pub:/h5ai" "/tank/complete:/h5ai/.tank" ]; + volumes = [ "/home/${username}/vault/pub:/h5ai" "/tank/complete:/h5ai/.tank" "/home/${username}/docker/h5ai:/config/h5ai/" ]; }; hugo = {