NetworkManager-dispatcher: note why we cant use DynamicUser

This commit is contained in:
Colin 2024-06-03 15:57:41 +00:00
parent e2a1e6730d
commit 0e2d86ac96

View File

@ -121,6 +121,7 @@ in {
# serviceConfig.Restart = "always";
# serviceConfig.RestartSec = "1s";
# serviceConfig.DynamicUser = true; #< not possible, else we lose group perms (so can't write to `trust-dns`'s files in the nm hook)
serviceConfig.User = "networkmanager"; # TODO: should arguably use `DynamicUser`
serviceConfig.Group = "networkmanager";
serviceConfig.LockPersonality = true;