{pkgs, lib, config, ...}: { options = { gaming.xash3d.enable = lib.mkEnableOption "Enable Xash3d for Half-Life"; }; config = mkIf config.gaming.xash3d.enable; { home.packages = with pkgs; [ xash3d hlsdk ]; }; }