qbitorrent has replaced flood and rtorrent

This commit is contained in:
Haak Saxberg 2023-11-06 20:52:58 -08:00
parent 495441670d
commit 0f74c957a1
6 changed files with 9 additions and 171 deletions

View file

@ -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" ];