Transmission: Difference between revisions
imported>Samueldr Creates page with details about the configuration. |
imported>Dywedir m Update link |
||
Line 10: | Line 10: | ||
boolean values must not. | boolean values must not. | ||
</blockquote> | </blockquote> | ||
<cite>[https://github.com/NixOS/nixpkgs/blob/ | <cite>[https://github.com/NixOS/nixpkgs/blob/dd705fb45fd17c078522dedb76ee710ed4d3af4b/nixos/modules/services/torrent/transmission.nix#L64:L71 <nixpkgs>/nixos/modules/services/torrent/transmission.nix]</cite> | ||
To persist changes, edit them, look at the <code>[services.transmission.home]/.config/transmission-daemon/settings.json</code> file generated for the setting keys and their values, and save them to <code>services.transmission.settings</code> | To persist changes, edit them, look at the <code>[services.transmission.home]/.config/transmission-daemon/settings.json</code> file generated for the setting keys and their values, and save them to <code>services.transmission.settings</code> |
Revision as of 08:11, 26 April 2019
Service configuration
Changes to the configuration in the interface will not persist when the application is re-launched. services.transmission.settings
is reset each time the service restarts.
Attribute set whos[e] fields overwrites fields in settings.json (each time the service starts). String values must be quoted, integer and boolean values must not.
<nixpkgs>/nixos/modules/services/torrent/transmission.nix
To persist changes, edit them, look at the [services.transmission.home]/.config/transmission-daemon/settings.json
file generated for the setting keys and their values, and save them to services.transmission.settings
Password-protected RPC
The default method of editing the configuration and restarting the daemon will not work because of the way the configuration is handled. It is however possible to once set it in clear in the settings, and then copy the generated hash to the setting, removing the in-clear copy from the configuration.