diff --git a/hosts/idols-aquamarine/homepage/default.nix b/hosts/idols-aquamarine/homepage/default.nix index fa8a442f..038410cb 100644 --- a/hosts/idols-aquamarine/homepage/default.nix +++ b/hosts/idols-aquamarine/homepage/default.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: let +{ + lib, + pkgs, + ... +}: let configDir = "/data/apps/homepage-dashboard"; in { # https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/misc/homepage-dashboard.nix @@ -8,7 +12,7 @@ in { openFirewall = false; }; systemd.services.homepage-dashboard.environment = { - HOMEPAGE_CONFIG_DIR = configDir; + HOMEPAGE_CONFIG_DIR = lib.mkForce configDir; # 1. The value of env var HOMEPAGE_VAR_XXX will replace {{HOMEPAGE_VAR_XXX}} in any config # HOMEPAGE_VAR_XXX_APIKEY = "myapikey";