1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Added creation of the disnix group on first startup, if the disnix service is enabled

svn path=/nixos/trunk/; revision=21164
This commit is contained in:
Sander van der Burg 2010-04-19 13:26:21 +00:00
parent a008d6b391
commit 2936d7062d
2 changed files with 7 additions and 1 deletions

View file

@ -51,7 +51,7 @@ in
uptimed = 29;
ddclient = 30;
davfs2 = 31;
privoxy = 32;
privoxy = 32;
# When adding a uid, make sure it doesn't match an existing gid.
nixbld = 30000; # start of range of uids
@ -89,6 +89,7 @@ in
polkituser = 28;
davfs2 = 31;
privoxy = 32;
disnix = 33;
# When adding a gid, make sure it doesn't match an existing uid.
users = 100;

View file

@ -36,6 +36,11 @@ in
services.dbus.enable = true;
services.dbus.packages = [ pkgs.disnix ];
users.extraGroups = singleton
{ name = "disnix";
gid = config.ids.gids.disnix;
};
jobs.disnix =
{ description = "Disnix server";