From accbc67b046c4391d6bb6340044b79fb15f34020 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Mon, 13 Nov 2023 23:24:55 +0100 Subject: [PATCH] nixos/transmission: use mkDefault on PrivateMounts and PrivateUsers --- nixos/modules/services/torrent/transmission.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index d9f2a5f62529e..12aeb411477b1 100644 --- a/nixos/modules/services/torrent/transmission.nix +++ b/nixos/modules/services/torrent/transmission.nix @@ -351,10 +351,10 @@ in MemoryDenyWriteExecute = true; NoNewPrivileges = true; PrivateDevices = true; - PrivateMounts = true; + PrivateMounts = mkDefault true; PrivateNetwork = mkDefault false; PrivateTmp = true; - PrivateUsers = true; + PrivateUsers = mkDefault true; ProtectClock = true; ProtectControlGroups = true; # ProtectHome=true would not allow BindPaths= to work across /home,