From 71a6fc681785ae495f58570b702be236a74f975c Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Sat, 24 Feb 2024 04:30:47 +0100 Subject: [PATCH] Fix homer icon path handling yet again --- hosts/nixos/lapetus/services/homer.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/lapetus/services/homer.nix b/hosts/nixos/lapetus/services/homer.nix index 81bc7de..e7c21cf 100644 --- a/hosts/nixos/lapetus/services/homer.nix +++ b/hosts/nixos/lapetus/services/homer.nix @@ -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 ✨";