Transmission: Difference between revisions
imported>Jmarmstrong1207 m Added note of possible deletion for service config |
Add application introduction |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{expansion}} | {{expansion}} | ||
[https://transmissionbt.com/ Transmission] is a lightweight, open-source BitTorrent client for Linux that provides both GUI and command-line interfaces for efficient torrent downloading and seeding. | |||
== Installation == | |||
Install by adding transmission_4-qt or transmission_4-gtk to your packages list | |||
<syntaxHighlight lang=nix> | |||
environment.systemPackages = with pkgs; [ transmission_4-qt ]; | |||
</syntaxHighlight> | |||
<syntaxhighlight lang="nix">environment.systemPackages = with pkgs; [ transmission_4-gtk ];</syntaxhighlight> | |||
If you want to configure the settings declaratively with within configuration.nix, you will have to instead install transmission-qt or transmission-gtk. Do note that this is using version 3.0.0 instead of version 4. | |||
<syntaxHighlight lang=nix> | |||
environment.systemPackages = with pkgs; [ transmission-qt ]; | |||
</syntaxHighlight> | |||
<syntaxHighlight lang=nix> | |||
environment.systemPackages = with pkgs; [ transmission-gtk ]; | |||
</syntaxHighlight> | |||
== Service configuration == | == Service configuration == | ||
You can declaratively change the settings via Nix by modifying <code>services.transmission.settings</code>. [https://search.nixos.org/options?type=packages&query=transmission.settings View the documentation for more info]. Like the previous section has said before, you'll have to use the nixpkgs transmission-gtk or transmission-qt for this to work. | |||
< | Example: | ||
<syntaxHighlight lang=nix> | |||
services.transmission.settings = { | |||
download-dir = "${config.services.transmission.home}/Downloads"; | |||
}; | |||
</syntaxHighlight> | |||
=== Password-protected RPC === | === Password-protected RPC === | ||