roon-server: let nix assign ids
This commit is contained in:
parent
62d242d1cd
commit
f160233793
@ -340,7 +340,6 @@
|
||||
cockroachdb = 313;
|
||||
zoneminder = 314;
|
||||
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!
|
||||
|
||||
@ -641,7 +640,6 @@
|
||||
cockroachdb = 313;
|
||||
zoneminder = 314;
|
||||
paperless = 315;
|
||||
roon-server = 316;
|
||||
|
||||
# When adding a gid, make sure it doesn't match an existing
|
||||
# uid. Users and groups with the same name should have equal
|
||||
|
@ -60,12 +60,10 @@ in {
|
||||
|
||||
users.groups = singleton {
|
||||
name = cfg.group;
|
||||
gid = config.ids.gids.roon-server;
|
||||
};
|
||||
users.users = singleton {
|
||||
name = cfg.user;
|
||||
description = "Roon Server user";
|
||||
uid = config.ids.uids.roon-server;
|
||||
groups = [ cfg.group "audio" ];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user