summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-16 21:53:34 +0100
committerlassulus <lass@lassul.us>2017-03-16 21:53:34 +0100
commit5718517f60275a8dd66f3a230792e72bcc8d29c9 (patch)
treee1c7e11f5a17cedb0165dfca677a201de0f0816b /krebs/3modules
parente599c372bfa590e898812ed59284724881a76d98 (diff)
k 3 htgen: use htgen-1.1
Diffstat (limited to 'krebs/3modules')
-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;