[Nix-dev] Declarative user management merged to master

Bjørn Forsman bjorn.forsman at gmail.com
Fri Feb 7 22:19:23 CET 2014


On 5 February 2014 16:07, Rickard Nilsson <rickard.nilsson at telia.com> wrote:
> Hi,
>
> I have pushed https://github.com/NixOS/nixpkgs/pull/1076 to
> nixpkgs/master now. If you don't set users.mutableUsers to false,
> everything _should_ work as before, but watch out just in case.
>
> See the PR discussion and
> https://github.com/rickynils/nixpkgs/commit/e3de5140ef259d718e0ec9e6c6e1418464589e2a
> for more info.

After this was merged I get this when I do nixos-rebuild:

[...]
while evaluating an anonymous function at
`/home/bfo/nixpkgs/nixos/modules/config/users-groups.nix:198:26':
while evaluating an anonymous function at
`/home/bfo/nixpkgs/lib/modules.nix:26:45':
while evaluating the attribute `value' at
`/home/bfo/nixpkgs/lib/modules.nix:176:9':
while evaluating the option `users.extraGroups.unnamed-9.1.gid':
while evaluating `id' at `/home/bfo/nixpkgs/lib/trivial.nix:9:8':
user-thrown exception: The option `users.extraGroups.unnamed-9.1.gid'
is used but not defined.

I tried with and without users.mutableUsers = false;

Any ideas? Anyone else seeing this?

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list