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 ✨";