{ options, config, lib, pkgs, ... }: with lib; with lib.plusultra; let cfg = config.plusultra.apps.lutris; in { options.plusultra.apps.lutris = with types; { enable = mkBoolOpt false "Whether or not to enable Lutris."; }; config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ lutris # Needed for some installers like League of Legends openssl gnome.zenity ]; }; }