Skip to content

Commit

Permalink
Revert "nixis/uinput: use a fixed GID for the uinput group"
Browse files Browse the repository at this point in the history
This reverts commit 70119aa.
  • Loading branch information
ElvishJerricco committed Dec 23, 2024
1 parent d3c42f1 commit 55e8064
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/hardware/uinput.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ in
config = lib.mkIf cfg.enable {
boot.kernelModules = [ "uinput" ];

users.groups.uinput.gid = config.ids.gids.uinput;
users.groups.uinput = { };

services.udev.extraRules = ''
SUBSYSTEM=="misc", KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
Expand Down
1 change: 0 additions & 1 deletion nixos/modules/misc/ids.nix
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,6 @@ in
rstudio-server = 324;
localtimed = 325;
automatic-timezoned = 326;
uinput = 327;
whisparr = 328;

# When adding a gid, make sure it doesn't match an existing
Expand Down

0 comments on commit 55e8064

Please sign in to comment.