From 053a7837720fdb7f17972d69ee6dbf60ac9b39ad Mon Sep 17 00:00:00 2001 From: Franz Kafka Date: Fri, 20 Mar 2026 21:52:48 +0000 Subject: [PATCH] brand forgejo as The Harrow - Set APP_NAME to The Harrow - Set Kafkaesque description - Add custom logo and favicon (needle + etched scratches, rusted red) - Point customDir to custom/ for asset loading --- custom/public/img/favicon.svg | 15 +++++++++++++++ custom/public/img/logo.svg | 15 +++++++++++++++ modules/forgejo.nix | 9 +++++++++ 3 files changed, 39 insertions(+) create mode 100644 custom/public/img/favicon.svg create mode 100644 custom/public/img/logo.svg diff --git a/custom/public/img/favicon.svg b/custom/public/img/favicon.svg new file mode 100644 index 0000000..24518a9 --- /dev/null +++ b/custom/public/img/favicon.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/custom/public/img/logo.svg b/custom/public/img/logo.svg new file mode 100644 index 0000000..8b07c90 --- /dev/null +++ b/custom/public/img/logo.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/modules/forgejo.nix b/modules/forgejo.nix index 35ca7f9..f14b8d3 100644 --- a/modules/forgejo.nix +++ b/modules/forgejo.nix @@ -66,6 +66,7 @@ in services.forgejo = { enable = true; database.type = "postgres"; + customDir = ./custom; settings = { server = { @@ -91,6 +92,14 @@ in PASSWORD_COMPLEXITY = "lower,upper,digit,spec"; MIN_PASSWORD_LENGTH = 12; }; + "ui.meta" = { + AUTHOR = "Penal Colony"; + DESCRIPTION = "The apparatus inscribes your code. Every commit is judged."; + }; + "ui" = { + DEFAULT_THEME = "forgejo-auto"; + APP_NAME = "The Harrow"; + }; }; };