{ config, lib, pkgs, ... }: { services.udev.packages = with pkgs; lib.mkIf config.system.desktop.enable [ game-devices-udev-rules ]; }