{ config, lib, pkgs, ... }: with lib; mkIf (elem "udev" config.machine.services) { hardware.steam-hardware.enable = true; }