Transmission: Difference between revisions

Granddave (talk | contribs)
Add application introduction
Service configuration: GTK or QT packages are not required for the transmission systemd service. The default package is the CLI daemon.
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
<syntaxhighlight lang="nix">environment.systemPackages = with pkgs; [ transmission_4-gtk ];</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.
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: