mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
nixos/transmission: use mkDefault on PrivateMounts and PrivateUsers
This commit is contained in:
parent
dd77a799f8
commit
accbc67b04
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user