diff options
author | tv <tv@krebsco.de> | 2017-09-07 22:51:48 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-09-07 22:51:48 +0200 |
commit | e4969bf3e77a5d3bc39625ad784227438640d126 (patch) | |
tree | f6fbc14e2b675a512ec698cbdae33fa3fd8d25ca /krebs/3modules/newsbot-js.nix | |
parent | 66738262eeb30e29f2743d0e0424d10722f5e2af (diff) | |
parent | 46a3f4c24315836c1d82711d98f4d69be67d883d (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'krebs/3modules/newsbot-js.nix')
-rw-r--r-- | krebs/3modules/newsbot-js.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/krebs/3modules/newsbot-js.nix b/krebs/3modules/newsbot-js.nix index 2ff9a5ebb..dd3e5647a 100644 --- a/krebs/3modules/newsbot-js.nix +++ b/krebs/3modules/newsbot-js.nix @@ -13,6 +13,11 @@ let api = { enable = mkEnableOption "Enable krebs newsbot"; + package = mkOption { + type = types.package; + default = pkgs.newsbot-js; + description = "newsbot package to use"; + }; ircServer = mkOption { type = types.str; default = "echelon.retiolum"; @@ -79,7 +84,7 @@ let serviceConfig = { User = "newsbot-js"; Restart = "always"; - ExecStart = "${pkgs.newsbot-js}/bin/newsbot"; + ExecStart = "${cfg.package}/bin/newsbot"; }; }; }; |