From b0b6952d0ef02ca9961bee7b6fdc1be4aabaa050 Mon Sep 17 00:00:00 2001 From: diniamo Date: Tue, 22 Oct 2024 23:10:16 +0200 Subject: [PATCH] nixos/transmission: set StateDirectoryMode to the correct permission --- nixos/modules/services/torrent/transmission.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index b16f5c97fe4bb..3a70790880f28 100644 --- a/nixos/modules/services/torrent/transmission.nix +++ b/nixos/modules/services/torrent/transmission.nix @@ -356,7 +356,7 @@ in "transmission/${downloadsDir}" "transmission/${watchDir}" ]; - StateDirectoryMode = mkDefault 750; + StateDirectoryMode = cfg.downloadDirPermissions; # The following options are only for optimizing: # systemd-analyze security transmission AmbientCapabilities = "";