mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Re-add DynamicUser = true
per review discussion
This commit is contained in:
parent
b3de807a6a
commit
b744fee880
@ -238,7 +238,11 @@ with lib;
|
||||
# You may want to set this to `true` if not using coverage tooling on
|
||||
# compiled code
|
||||
LockPersonality = false;
|
||||
|
||||
# Note that this has some interactions with the User setting; so you may
|
||||
# want to consult the systemd docs if using both.
|
||||
DynamicUser = true;
|
||||
} // (
|
||||
if cfg.user == null then { DynamicUser = true; } else { User = cfg.user; }
|
||||
lib.optionalAttrs (cfg.user != null) { User = cfg.user; }
|
||||
) // cfg.serviceOverrides;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user