roon-server: let nix assign ids

This commit is contained in:
Alex Guzman 2019-08-07 12:34:52 -07:00
parent 62d242d1cd
commit f160233793
2 changed files with 0 additions and 4 deletions

View File

@ -340,7 +340,6 @@
cockroachdb = 313; cockroachdb = 313;
zoneminder = 314; zoneminder = 314;
paperless = 315; paperless = 315;
roon-server = 316;
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
@ -641,7 +640,6 @@
cockroachdb = 313; cockroachdb = 313;
zoneminder = 314; zoneminder = 314;
paperless = 315; paperless = 315;
roon-server = 316;
# 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

@ -60,12 +60,10 @@ in {
users.groups = singleton { users.groups = singleton {
name = cfg.group; name = cfg.group;
gid = config.ids.gids.roon-server;
}; };
users.users = singleton { users.users = singleton {
name = cfg.user; name = cfg.user;
description = "Roon Server user"; description = "Roon Server user";
uid = config.ids.uids.roon-server;
groups = [ cfg.group "audio" ]; groups = [ cfg.group "audio" ];
}; };
}; };