0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

nixos: define the primary group of users where needed

This commit is contained in:
Guillaume Girol 2021-08-08 12:00:00 +00:00
parent 0f15a8f489
commit bc3bca822a
46 changed files with 150 additions and 52 deletions

View file

@ -74,7 +74,7 @@ in {
users."${cfg.user}" = {
description = "Pleroma user";
home = cfg.stateDir;
extraGroups = [ cfg.group ];
group = cfg.group;
isSystemUser = true;
};
groups."${cfg.group}" = {};