From c2bce0cd029cd7068f75b8025b0fdddb34881a26 Mon Sep 17 00:00:00 2001 From: Anders Lundstedt Date: Wed, 2 Mar 2016 19:26:48 +0100 Subject: 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. --- nixos/modules/services/torrent/transmission.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services') 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 = { -- cgit 1.4.1