nixos/services: lay ground for gitea branding
Check / Nix flake (push) Failing after 9s
Lint / Nix expressions (push) Failing after 10s

also makes adds gitea persistence
This commit is contained in:
2026-05-06 03:59:58 +02:00
parent c830cc1f96
commit c5579fbd9c
5 changed files with 330 additions and 2 deletions
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 22 KiB

+12
View File
@@ -0,0 +1,12 @@
{{template "base/head" .}}
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}"
class="page-content home tw-mb-8 tw-px-8 center" style="height: 100%; flex-direction: column; display: flex; align-items: center; justify-content: space-around;">
<img width="500" height="500" src="{{AssetUrlPrefix}}/images/full-logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
<div class="hero">
<h1 class="ui icon header title">
{{AppName}}
</h1>
<!-- <h2>My own gitea server 😎</h2> -->
</div>
</div>
{{template "base/footer" .}}
+18
View File
@@ -0,0 +1,18 @@
@import "/assets/css/theme-gitea-dark.css";
:root {
--is-dark-theme: true;
--accent-color: 221, 85, 85; /* #d55 */
--gitea-color-primary-dark-4: 221, 85, 85;
--accent-color-secondary: 96, 72, 10;
--accent-color-hover: 170, 68, 68;
--color-primary: rgb(var(--accent-color));
--color-secondary: rgb(var(--accent-color-secondary));
--button-color: rgb(var(--accent-color));
--button-color-hover: rgb(var(--accent-color-hover));
}
.navbar-left > #navbar-logo.item, .navbar-right > #navbar-logo.item, .navbar-mobile-right > #navbar-logo.item {
padding: 3px;
}