feat: Add home tmpl for forgejo
This commit is contained in:
parent
f49940f04e
commit
22c1e92a32
3 changed files with 20 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
./mastodon.nix
|
./mastodon.nix
|
||||||
./archivebox.nix
|
./archivebox.nix
|
||||||
./cross-seed.nix
|
./cross-seed.nix
|
||||||
./forgejo.nix
|
./forgejo
|
||||||
./wakapi.nix
|
./wakapi.nix
|
||||||
./blocky.nix
|
./blocky.nix
|
||||||
./coturn.nix
|
./coturn.nix
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"L+ '${config.services.forgejo.customDir}/templates/home.tmpl' - forgejo forgejo - ${
|
||||||
|
./home.tmpl
|
||||||
|
}"
|
||||||
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# /var/lib/forgejo
|
# /var/lib/forgejo
|
||||||
forgejo = {
|
forgejo = {
|
13
services/forgejo/home.tmpl
Normal file
13
services/forgejo/home.tmpl
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{{template "base/head" .}}
|
||||||
|
<div class="page-content home">
|
||||||
|
<div class="ui stackable middle very relaxed page grid">
|
||||||
|
<div class="sixteen wide center aligned centered column">
|
||||||
|
<div class="hero">
|
||||||
|
<h1 class="ui icon header title">
|
||||||
|
Meow
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{template "base/footer" .}}
|
Loading…
Add table
Add a link
Reference in a new issue