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