mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
nixos/whisparr: Remove static IDs
This commit is contained in:
parent
55e8064b0b
commit
218901bd4c
2 changed files with 2 additions and 4 deletions
|
@ -355,7 +355,6 @@ in
|
||||||
rstudio-server = 324;
|
rstudio-server = 324;
|
||||||
localtimed = 325;
|
localtimed = 325;
|
||||||
automatic-timezoned = 326;
|
automatic-timezoned = 326;
|
||||||
whisparr = 328;
|
|
||||||
|
|
||||||
# When adding a uid, make sure it doesn't match an existing gid.
|
# When adding a uid, make sure it doesn't match an existing gid.
|
||||||
#
|
#
|
||||||
|
@ -683,7 +682,6 @@ in
|
||||||
rstudio-server = 324;
|
rstudio-server = 324;
|
||||||
localtimed = 325;
|
localtimed = 325;
|
||||||
automatic-timezoned = 326;
|
automatic-timezoned = 326;
|
||||||
whisparr = 328;
|
|
||||||
|
|
||||||
# When adding a gid, make sure it doesn't match an existing
|
# When adding a gid, make sure it doesn't match an existing
|
||||||
# uid. Users and groups with the same name should have equal
|
# uid. Users and groups with the same name should have equal
|
||||||
|
|
|
@ -64,10 +64,10 @@ in
|
||||||
whisparr = {
|
whisparr = {
|
||||||
group = cfg.group;
|
group = cfg.group;
|
||||||
home = cfg.dataDir;
|
home = cfg.dataDir;
|
||||||
uid = config.ids.uids.whisparr;
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups = lib.mkIf (cfg.group == "whisparr") { whisparr.gid = config.ids.gids.whisparr; };
|
users.groups.whisparr = lib.mkIf (cfg.group == "whisparr") { };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue