nixos/flexget: add package option
This commit is contained in:
parent
66bc6e35c9
commit
5c7fa218c1
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@ with lib;
|
|||
|
||||
let
|
||||
cfg = config.services.flexget;
|
||||
pkg = pkgs.flexget;
|
||||
pkg = cfg.package;
|
||||
ymlFile = pkgs.writeText "flexget.yml" ''
|
||||
${cfg.config}
|
||||
|
||||
|
@ -16,6 +16,8 @@ in {
|
|||
services.flexget = {
|
||||
enable = mkEnableOption (lib.mdDoc "Run FlexGet Daemon");
|
||||
|
||||
package = mkPackageOptionMD pkgs "flexget" {};
|
||||
|
||||
user = mkOption {
|
||||
default = "deluge";
|
||||
example = "some_user";
|
||||
|
|
Loading…
Reference in a new issue