qbitorrent has replaced flood and rtorrent
This commit is contained in:
parent
495441670d
commit
0f74c957a1
6 changed files with 9 additions and 171 deletions
|
|
@ -2,6 +2,13 @@
|
|||
{
|
||||
environment.systemPackages = with pkgs; [ qbittorrent-nox ];
|
||||
|
||||
users.groups.qbittorrent = { };
|
||||
users.users.qbittorrent.group = "qbittorrent";
|
||||
users.extraUsers.qbittorrent = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "users" "multimedia" ];
|
||||
};
|
||||
|
||||
systemd = {
|
||||
packages = [ pkgs.qbittorrent-nox ];
|
||||
|
||||
|
|
@ -9,7 +16,7 @@
|
|||
enable = true;
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "rtorrent";
|
||||
User = "qbittorrent";
|
||||
ExecStart = "${pkgs.qbittorrent-nox}/bin/qbittorrent-nox";
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue