summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/3modules/htgen.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/krebs/3modules/htgen.nix b/krebs/3modules/htgen.nix
index 2fe726049..3c8872be2 100644
--- a/krebs/3modules/htgen.nix
+++ b/krebs/3modules/htgen.nix
@@ -44,15 +44,14 @@ let
after = [ "network.target" ];
environment = {
HTGEN_PORT = toString htgen.port;
+ HTGEN_SCRIPT = htgen.script;
};
serviceConfig = {
SyslogIdentifier = "htgen";
User = htgen.user.name;
PrivateTmp = true;
Restart = "always";
- ExecStart = "${pkgs.htgen.override {
- inherit (htgen) script;
- }}/bin/htgen --serve";
+ ExecStart = "${pkgs.htgen}/bin/htgen --serve";
};
}
) cfg;