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:
Domen Kožar 2015-10-29 09:58:38 +01:00
parent f0dd213295
commit 01b0355140

View File

@ -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;