diff options
author | makefu <github@syntax-fehler.de> | 2021-02-11 14:06:45 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-02-11 14:06:45 +0100 |
commit | 540e13721d85dcf100bf3529414d96cd8e28a446 (patch) | |
tree | 7db6b3955f8f06af83434027e4825f8b160ba9d4 /krebs/3modules/htgen.nix | |
parent | 38bddfd404b4418b4e820dfbd312145fc6abca68 (diff) | |
parent | d0e7bc46b4cdb15f7505aa069ac29588b02ddf92 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/3modules/htgen.nix')
-rw-r--r-- | krebs/3modules/htgen.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/krebs/3modules/htgen.nix b/krebs/3modules/htgen.nix index 0dddca6c8..70c4fcd2b 100644 --- a/krebs/3modules/htgen.nix +++ b/krebs/3modules/htgen.nix @@ -20,6 +20,11 @@ let default = config._module.args.name; }; + package = mkOption { + default = pkgs.htgen; + type = types.package; + }; + port = mkOption { type = types.uint; }; @@ -52,7 +57,7 @@ let User = htgen.user.name; PrivateTmp = true; Restart = "always"; - ExecStart = "${pkgs.htgen}/bin/htgen --serve"; + ExecStart = "${htgen.package}/bin/htgen --serve"; }; } ) cfg; |