mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
nixos/flexget: add package option
This commit is contained in:
parent
66bc6e35c9
commit
5c7fa218c1
@ -4,7 +4,7 @@ with lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.flexget;
|
cfg = config.services.flexget;
|
||||||
pkg = pkgs.flexget;
|
pkg = cfg.package;
|
||||||
ymlFile = pkgs.writeText "flexget.yml" ''
|
ymlFile = pkgs.writeText "flexget.yml" ''
|
||||||
${cfg.config}
|
${cfg.config}
|
||||||
|
|
||||||
@ -16,6 +16,8 @@ in {
|
|||||||
services.flexget = {
|
services.flexget = {
|
||||||
enable = mkEnableOption (lib.mdDoc "Run FlexGet Daemon");
|
enable = mkEnableOption (lib.mdDoc "Run FlexGet Daemon");
|
||||||
|
|
||||||
|
package = mkPackageOptionMD pkgs "flexget" {};
|
||||||
|
|
||||||
user = mkOption {
|
user = mkOption {
|
||||||
default = "deluge";
|
default = "deluge";
|
||||||
example = "some_user";
|
example = "some_user";
|
||||||
|
Loading…
Reference in New Issue
Block a user