diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-12-31 09:52:45 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-12-31 09:52:45 +0100 |
commit | 361dae67d49ac20dc4e568fe6d32e0a0dbbb5f1a (patch) | |
tree | 7b872c865f64bfa17c0b8f9a05d4be0469762eb7 /nixos | |
parent | 0cb52dc8364be8ee8a3ae87c6fdf6098fde8ee9d (diff) |
flexget: move out of python-packages.nix
because it is an application and not a library.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/torrent/flexget.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/torrent/flexget.nix b/nixos/modules/services/torrent/flexget.nix index 1252aa1c549c7..4b9038e3e251c 100644 --- a/nixos/modules/services/torrent/flexget.nix +++ b/nixos/modules/services/torrent/flexget.nix @@ -4,7 +4,7 @@ with lib; let cfg = config.services.flexget; - pkg = pkgs.python27Packages.flexget; + pkg = pkgs.flexget; ymlFile = pkgs.writeText "flexget.yml" '' ${cfg.config} @@ -54,12 +54,12 @@ in { config = mkIf cfg.enable { - environment.systemPackages = [ pkgs.python27Packages.flexget ]; + environment.systemPackages = [ pkg ]; systemd.services = { flexget = { description = "FlexGet Daemon"; - path = [ pkgs.pythonPackages.flexget ]; + path = [ pkg ]; serviceConfig = { User = cfg.user; Environment = "TZ=${config.time.timeZone}"; |