[Nix-dev] Re: Managing users, configuration files and filesystem mounts.
Ludovic Courtès
ludo at gnu.org
Fri Feb 5 19:32:55 CET 2010
Hello,
Jason Dusek <jason.dusek at gmail.com>
writes:
> I am curious as to how Nix manages users and groups outside of
> NixOS.
Normally, all users and groups are declared in NixOS.
Users (actually sysadmins) can specify a list in the ‘users.extraUsers’
attribute, in their ‘configuration.nix’. Likewise, services provided by
NixOS can declare users/groups; for instance, the Avahi service declares
that it wants an ‘avahi’ user and group, so that ‘avahi-daemon’ can run
under that user.
Does that answer your question?
Thanks,
Ludo’.
More information about the nix-dev
mailing list