Skip to content

Commit

Permalink
nixos/transmission: use mkDefault on PrivateMounts and PrivateUsers
Browse files Browse the repository at this point in the history
  • Loading branch information
ju1m committed Nov 13, 2023
1 parent dd77a79 commit accbc67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/services/torrent/transmission.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit accbc67

Please sign in to comment.