nixos/deluge: Fix deluge package attribute
Regression introduced by fa5e34324204fc626d9b644a37982bcedec9e4bc. The deluge package no longer resides in pythonPackages but now is a top-level package. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @grantwwu, @fpletz
This commit is contained in:
parent
86587ea95b
commit
799435b7ca
@ -42,9 +42,9 @@ in {
|
|||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
description = "Deluge BitTorrent Daemon";
|
description = "Deluge BitTorrent Daemon";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [ pkgs.pythonPackages.deluge ];
|
path = [ pkgs.deluge ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.pythonPackages.deluge}/bin/deluged -d";
|
ExecStart = "${pkgs.deluge}/bin/deluged -d";
|
||||||
# To prevent "Quit & shutdown daemon" from working; we want systemd to manage it!
|
# To prevent "Quit & shutdown daemon" from working; we want systemd to manage it!
|
||||||
Restart = "on-success";
|
Restart = "on-success";
|
||||||
User = "deluge";
|
User = "deluge";
|
||||||
@ -58,12 +58,12 @@ in {
|
|||||||
description = "Deluge BitTorrent WebUI";
|
description = "Deluge BitTorrent WebUI";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [ pkgs.pythonPackages.deluge ];
|
path = [ pkgs.pythonPackages.deluge ];
|
||||||
serviceConfig.ExecStart = "${pkgs.pythonPackages.deluge}/bin/deluge --ui web";
|
serviceConfig.ExecStart = "${pkgs.deluge}/bin/deluge --ui web";
|
||||||
serviceConfig.User = "deluge";
|
serviceConfig.User = "deluge";
|
||||||
serviceConfig.Group = "deluge";
|
serviceConfig.Group = "deluge";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.pythonPackages.deluge ];
|
environment.systemPackages = [ pkgs.deluge ];
|
||||||
|
|
||||||
users.extraUsers.deluge = {
|
users.extraUsers.deluge = {
|
||||||
group = "deluge";
|
group = "deluge";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user