{
  lib,
  config,
  ...
}: let
  cfg = config.marleyos.programs.gui;

  inherit (lib.marleyos) enabled;
in {
  options.marleyos.programs.gui.enable = lib.mkEnableOption "gui";

  config = lib.mkIf cfg.enable {
    marleyos.programs = {
      lutris = enabled;
      steam = enabled;
    };
  };
}
