summary refs log tree commit diff
path: root/nixos/modules/services/torrent
diff options
context:
space:
mode:
authorAnders Lundstedt <git@anderslundstedt.se>2016-03-02 19:26:48 +0100
committerAnders Lundstedt <git@anderslundstedt.se>2016-03-02 19:26:48 +0100
commitc2bce0cd029cd7068f75b8025b0fdddb34881a26 (patch)
tree10182fd51c20e900708133c584a538815a74a11f /nixos/modules/services/torrent
parent0c1ed282f03cbcff8b695acb61872e1bb8a1a6da (diff)
downloadnixlib-c2bce0cd029cd7068f75b8025b0fdddb34881a26.tar
nixlib-c2bce0cd029cd7068f75b8025b0fdddb34881a26.tar.gz
nixlib-c2bce0cd029cd7068f75b8025b0fdddb34881a26.tar.bz2
nixlib-c2bce0cd029cd7068f75b8025b0fdddb34881a26.tar.lz
nixlib-c2bce0cd029cd7068f75b8025b0fdddb34881a26.tar.xz
nixlib-c2bce0cd029cd7068f75b8025b0fdddb34881a26.tar.zst
nixlib-c2bce0cd029cd7068f75b8025b0fdddb34881a26.zip
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.
Diffstat (limited to 'nixos/modules/services/torrent')
-rw-r--r--nixos/modules/services/torrent/transmission.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix
index b3f1f9066367..5ae12ac1e953 100644
--- a/nixos/modules/services/torrent/transmission.nix
+++ b/nixos/modules/services/torrent/transmission.nix
@@ -21,7 +21,7 @@ let
     else toString ''"${x}"'';
 
   # for users in group "transmission" to have access to torrents
-  fullSettings = { download-dir = downloadDir; incomplete-dir = incompleteDir; } // cfg.settings // { umask = 2; };
+  fullSettings = { umask = 2; download-dir = downloadDir; incomplete-dir = incompleteDir; } // cfg.settings;
 in
 {
   options = {