add some docs for rtorrent; add qbittorrent as another option
This commit is contained in:
parent
07392d8c65
commit
6c8af27e05
4 changed files with 38 additions and 3 deletions
21
nix/home/programs/qbittorrent/default.nix
Normal file
21
nix/home/programs/qbittorrent/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ qbittorrent-nox ];
|
||||
|
||||
systemd = {
|
||||
packages = [ pkgs.qbittorrent-nox ];
|
||||
|
||||
services."qbittorrent-nox@fc" = {
|
||||
enable = true;
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "rtorrent";
|
||||
ExecStart = "${pkgs.qbittorrent-nox}/bin/qbittorrent-nox";
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8080 ];
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue