mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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
|
@ -137,12 +137,12 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.extraUsers."${cfg.user}" = {
|
||||
users.users."${cfg.user}" = {
|
||||
isSystemUser = true;
|
||||
group = cfg.group;
|
||||
};
|
||||
|
||||
users.extraGroups."${cfg.group}" = {};
|
||||
users.groups."${cfg.group}" = {};
|
||||
|
||||
systemd.services.confluence = {
|
||||
description = "Atlassian Confluence";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue