Respect umask settings in Transmission config
In NixOS/nixpkgs@da6bc44 @thoughtpolice
made the Transmission NixOS module override the umask setting in the
Transmission config. This commit removes that override.
I want a different umask setting and I guess it is possible that other
people might want it to. Thus I think it is a good idea to respect the
umask settings in the Transmission config.
commitc2bce0cd029cd7068f75b8025b0fdddb34881a26
authorAnders Lundstedt <git@anderslundstedt.se>
dateWed 2 Mar 2016, 19:26 (11 years ago)
parent0c1ed28
nixos/modules/services/torrent/transmission.nix+1−1
@@ -21,7 +21,7 @@ let
2121 else toString ''"${x}"'';
2222
2323 # for users in group "transmission" to have access to torrents
24− fullSettings = { download-dir = downloadDir; incomplete-dir = incompleteDir; } // cfg.settings // { umask = 2; };
24+ fullSettings = { umask = 2; download-dir = downloadDir; incomplete-dir = incompleteDir; } // cfg.settings;
2525in
2626{
2727 options = {