mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
Remove static uid/gid
This commit is contained in:
parent
a44cea1158
commit
c904e68e53
|
@ -288,7 +288,6 @@
|
|||
kresd = 270;
|
||||
rpc = 271;
|
||||
geoip = 272;
|
||||
slimserver = 273;
|
||||
|
||||
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
|
||||
|
||||
|
@ -546,7 +545,6 @@
|
|||
kresd = 270;
|
||||
#rpc = 271; # unused
|
||||
#geoip = 272; # unused
|
||||
slimserver = 273;
|
||||
|
||||
# When adding a gid, make sure it doesn't match an existing
|
||||
# uid. Users and groups with the same name should have equal
|
||||
|
|
|
@ -56,13 +56,12 @@ in {
|
|||
};
|
||||
|
||||
users = {
|
||||
groups.slimserver.gid = config.ids.gids.slimserver;
|
||||
users.slimserver = {
|
||||
uid = config.ids.uids.slimserver;
|
||||
description = "Slimserver daemon user";
|
||||
home = cfg.dataDir;
|
||||
group = "slimserver";
|
||||
};
|
||||
groups.slimserver = {};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue