Unverified Commit 70119aa6 authored by r-vdp's avatar r-vdp
Browse files

nixis/uinput: use a fixed GID for the uinput group

parent 469f5058
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ in
  config = lib.mkIf cfg.enable {
    boot.kernelModules = [ "uinput" ];

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

    services.udev.extraRules = ''
      SUBSYSTEM=="misc", KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
+1 −0
Original line number Diff line number Diff line
@@ -665,6 +665,7 @@ in
      rstudio-server = 324;
      localtimed = 325;
      automatic-timezoned = 326;
      uinput = 327;

      # When adding a gid, make sure it doesn't match an existing
      # uid. Users and groups with the same name should have equal