[Nix-dev] Declarative user management merged to master

Bjørn Forsman bjorn.forsman at gmail.com
Sat Feb 8 16:10:02 CET 2014


On 7 February 2014 23:11, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> Yup. Munin was missing uid/gid. Fixed in git master.

But where did the "unnamed" thing come from?

  user-thrown exception: The option
`users.extraGroups.unnamed-9.1.gid' is used but not defined.


It was fixed with this:

     users.extraGroups = [{
       name = "munin";
+      gid = config.ids.gids.munin;
     }];


I would have expected the error to complain about missing
"users.extraGroups.munin.gid" or something, not "unnamed".

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list