mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/modules: users.(extraUsers|extraGroup->users|group)
This commit is contained in:
parent
89d5d191b4
commit
fff5923686
295 changed files with 512 additions and 512 deletions
|
@ -93,7 +93,7 @@ in
|
|||
|
||||
config = mkIf config.services.mongodb.enable {
|
||||
|
||||
users.extraUsers.mongodb = mkIf (cfg.user == "mongodb")
|
||||
users.users.mongodb = mkIf (cfg.user == "mongodb")
|
||||
{ name = "mongodb";
|
||||
uid = config.ids.uids.mongodb;
|
||||
description = "MongoDB server user";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue