1
Fork 0

Fix homer theming

This commit is contained in:
prescientmoon 2024-02-24 04:03:21 +01:00
parent e425489dea
commit 2af5ca6274
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 9 additions and 6 deletions

View file

@ -4,8 +4,9 @@ let
highlight-primary = base0A;
highlight-secondary = base09;
highlight-hover = base08;
text-title = base00;
text-subtitle = base00;
text-header = base00;
text-title = base05;
text-subtitle = base05;
text = base05;
link = base08;
background = base00;
@ -13,7 +14,7 @@ let
};
fa = name: "fas fa-${name}";
icon = file: ../../../../common/icons/${file};
icon = file: "./assets/${../../../../common/icons/${file}}";
in
{
services.nginx.virtualHosts."lab.moonythm.dev" = {
@ -21,11 +22,12 @@ in
acmeRoot = null;
forceSSL = true;
root = pkgs.homer.withAssets {
extraAssets = [ ../../../../common/icons ];
config = {
title = " The celestial citadel ";
subtitle = "The home for my homelab :3";
header = false;
header = true;
footer = false;
connectivityCheck = true;
@ -60,8 +62,8 @@ in
];
}
{
name = "Self management";
icon = fa "superpowers";
name = "Productivity";
icon = fa "rocket";
items = [
{
name = "Intray";

View file

@ -1,3 +1,4 @@
# Taken from this comment: https://github.com/NixOS/nixpkgs/issues/152343#issuecomment-1367069827
{ lib, fetchzip, writeTextFile, runCommandLocal, symlinkJoin }:
let