Transmission: Difference between revisions

Pigs (talk | contribs)
Service configuration: Use current channel for search.nixos.org link
Tags: Mobile edit Mobile web edit Advanced mobile edit
Service configuration: GTK or QT packages are not required for the transmission systemd service. The default package is the CLI daemon.
 
(2 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 ==
== Installation ==
Install by adding transmission_4-qt or transmission_4-gtk to your packages list
Install by adding transmission_4-qt or transmission_4-gtk to your packages list
Line 5: Line 7:
environment.systemPackages = with pkgs; [ transmission_4-qt ];
environment.systemPackages = with pkgs; [ transmission_4-qt ];
</syntaxHighlight>
</syntaxHighlight>
<syntaxHighlight lang=nix>
<syntaxhighlight lang="nix">environment.systemPackages = with pkgs; [ transmission_4-gtk ];</syntaxhighlight>
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.
Transmission 3 has been deprecated in the 25.05 channel and removed in favor of version 4 in the 25.11 channel onwards.
<syntaxHighlight lang=nix>
If you still rely on it, consider making a backup before upgrading to transmission 4.
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.
The transmission daemon can be enabled declaratively as a <code>systemd</code> service with the settings under <code>services.transmission.settings</code>. [https://search.nixos.org/options?type=packages&query=transmission.settings View the documentation for more info].
 
Note that <code>services.transmission.package</code> defaults to:
 
* <code>transmission_3</code> in the deprecated 25.05 channel
* <code>transmission_4</code> from 25.11 onwards


Example:
Example: