transmission: use freeformType on settings and various fixes#96655
transmission: use freeformType on settings and various fixes#96655picnoir merged 4 commits intoNixOS:masterfrom
Conversation
|
|
|
@aanderse There's different options for different ports now, |
|
infinisil
left a comment
There was a problem hiding this comment.
In addition to the things below, the descriptions of options downloadDirPermissions and home can be updated to reference the new options.
Also as another improvement to this module: There's homeDir defined in a let in at the top which can be removed (its usages need to be fixed though).
1db98aa to
6197c61
Compare
Done.
Done. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
8c23bd2 to
7828174
Compare
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
picnoir
left a comment
There was a problem hiding this comment.
LGTM.
I don't see any obvious migration pitfall here apart from what's already been addressed.
Tested on my personal deployment.
I'll leave it there for 7 days before merging to let @infinisil perform a second pass if he feels like it.
|
Edit: There are some VM tests, see |
|
Motivation for this change
Leveraging freeformType on
services.transmission.settings.Things done
porttosettings.rpc-port.openFirewalltoopenPeerPorts.openRPCPort.settings.trash-original-torrent-files.mkDefaults when settingboot.kernel.sysctl.<xref linkend="opt-services.transmission.${optionName}"/>indescriptions.InaccessiblePaths=on theRootDirectory='s path.SystemCallErrorNumber=EPERMwhich may silent failures to call a disallowed syscalls instead of failing hard with anESYS, that will enable us to know more easily if we need to relax theSystemCallFilter=(usingcoredumpctl debugto know which syscall failed).watch-dircreation.sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)