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:
parent
0f15a8f489
commit
bc3bca822a
46 changed files with 150 additions and 52 deletions
|
@ -140,9 +140,12 @@ in {
|
|||
|
||||
environment.systemPackages = [ pkg ];
|
||||
|
||||
users.users.radicale.uid = config.ids.uids.radicale;
|
||||
users.users.radicale = {
|
||||
isSystemUser = true;
|
||||
group = "radicale";
|
||||
};
|
||||
|
||||
users.groups.radicale.gid = config.ids.gids.radicale;
|
||||
users.groups.radicale = {};
|
||||
|
||||
systemd.services.radicale = {
|
||||
description = "A Simple Calendar and Contact Server";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue