Skip to content

Commit

Permalink
feat(nixos): replace transmission with qbittorrent
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jan 4, 2024
1 parent e0707b4 commit 13d9925
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions machines/media/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,31 @@ in
};


systemd.services.qbittorrent = {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "exec";
User = "carlos";
Group = "wheel";
ExecStart = "${pkgs.qbittorrent-nox}/bin/qbittorrent-nox --webui-port=5060";
Restart = "on-failure";
ProtectSystem = "strict";
};
};

systemd.services.flood = {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "exec";
User = "carlos";
Group = "wheel";
ExecStart = "${pkgs.flood}/bin/flood --host 0.0.0.0 --port=5061";
Restart = "on-failure";
ProtectSystem = "strict";
};
};

# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
Expand Down

0 comments on commit 13d9925

Please sign in to comment.