nixos/transmission: use mkDefault on PrivateMounts and PrivateUsers

This commit is contained in:
Julien Moutinho 2023-11-13 23:24:55 +01:00
parent dd77a799f8
commit accbc67b04

View File

@ -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,