mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
nm-openvpn: add user/group, closes #10689
(cherry picked from commit 551dad3ffd
)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
f0dd213295
commit
01b0355140
@ -205,10 +205,16 @@ in {
|
||||
|
||||
environment.systemPackages = cfg.packages;
|
||||
|
||||
users.extraGroups = singleton {
|
||||
users.extraGroups = [{
|
||||
name = "networkmanager";
|
||||
gid = config.ids.gids.networkmanager;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "nm-openvpn";
|
||||
}];
|
||||
users.extraUsers = [{
|
||||
name = "nm-openvpn";
|
||||
}];
|
||||
|
||||
systemd.packages = cfg.packages;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user