···31 # taken from
32 # https://github.com/Dygmalab/Bazecor/blob/v1.4.4/src/main/utils/udev.ts#L6
330034 extraPkgs = pkgs: [ pkgs.glib ];
3536 # Also expose the udev rules here, so it can be used as:
···38 # to allow non-root modifications to the keyboards.
3940 extraInstallCommands = ''
41- source "${makeWrapper}/nix-support/setup-hook"
42 wrapProgram $out/bin/bazecor \
43 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
44
···31 # taken from
32 # https://github.com/Dygmalab/Bazecor/blob/v1.4.4/src/main/utils/udev.ts#L6
3334+ nativeBuildInputs = [ makeWrapper ];
35+36 extraPkgs = pkgs: [ pkgs.glib ];
3738 # Also expose the udev rules here, so it can be used as:
···40 # to allow non-root modifications to the keyboards.
4142 extraInstallCommands = ''
043 wrapProgram $out/bin/bazecor \
44 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
45