nixos/whisparr: Remove static IDs

This commit is contained in:
Will Fancher 2024-12-23 00:33:37 -05:00
parent 55e8064b0b
commit 218901bd4c
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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") { };
}; };
} }