mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
nixos/flexget: add package option
This commit is contained in:
parent
66bc6e35c9
commit
5c7fa218c1
@ -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 New Issue
Block a user