1
Fork 0

Fix homer icon path handling yet again

This commit is contained in:
prescientmoon 2024-02-24 04:30:47 +01:00
parent 1340de563b
commit 71a6fc6817
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -14,7 +14,8 @@ let
};
fa = name: "fas fa-${name}";
icon = file: "assets${../../../../common/icons/${file}}";
iconPath = ../../../../common/icons;
icon = file: "assets/${iconPath}/${file}";
in
{
services.nginx.virtualHosts."lab.moonythm.dev" = {
@ -22,7 +23,7 @@ in
acmeRoot = null;
forceSSL = true;
root = pkgs.homer.withAssets {
extraAssets = [ ../../../../common/icons ];
extraAssets = [ iconPath ];
config = {
title = " The celestial citadel ";