From e6469403ee08f64d51b01662ebd07bbfe1b83c61 Mon Sep 17 00:00:00 2001 From: iris Date: Wed, 20 May 2026 16:19:55 +0200 Subject: [PATCH] fix forge theme: add forgejo-* to THEMES, use C+ copy for CSS --- nix/modules/hive-forge.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/modules/hive-forge.nix b/nix/modules/hive-forge.nix index d88569e..050a505 100644 --- a/nix/modules/hive-forge.nix +++ b/nix/modules/hive-forge.nix @@ -151,7 +151,7 @@ in # dir before forgejo starts, so a container rebuild always # picks up CSS changes without touching persistent state. DEFAULT_THEME = "catppuccin-vibec0re"; - THEMES = "catppuccin-vibec0re,gitea-auto,gitea-light,gitea-dark"; + THEMES = "catppuccin-vibec0re,forgejo-auto,forgejo-light,forgejo-dark,gitea-auto,gitea-light,gitea-dark"; }; # F3 (federation) computes its data dir relative to the # forgejo binary, which lands in the read-only nix @@ -172,7 +172,7 @@ in # rebuilds automatically reflect CSS edits without extra copies. systemd.tmpfiles.rules = [ "d /var/lib/forgejo/custom/public/assets/css 0755 forgejo forgejo -" - "L+ /var/lib/forgejo/custom/public/assets/css/theme-catppuccin-vibec0re.css - - - - ${../forge-theme/theme-catppuccin-vibec0re.css}" + "C+ /var/lib/forgejo/custom/public/assets/css/theme-catppuccin-vibec0re.css 0644 forgejo forgejo - ${../forge-theme/theme-catppuccin-vibec0re.css}" ]; }; };