"warning: not applying GID change of group 'uinput' (989 -> 327) in /etc/group"

This error massage appers since upgrading to 24.11 or shortly after.
Has anybody a clue why?
I have no GIDs defined in my configuration.

Cause:

Explanation:

Okay, this explains it.
So to solve it, it recommended to do this?:

sudo sed -i -e '/^GROUP:/d' /etc/group # Remove generated group entry
sudo find / -gid OLD_GID -exec chgrp NEW_GID {} + # Change GID on existing files
sudo nixos-rebuild switch # Regenerate /etc/group with new GID

I’d just set the uid to 989 in the config and call it a day, tbh.

1 Like

users.groups.uinput.gid = lib.mkForce 989;