{
  lib,
  config,
  pkgs,
  ...
}: let
  cfg = config.soispha.services.steam;
in {
  options.soispha.services.steam = {
    enable = lib.mkEnableOption "Steam";
  };

  config = lib.mkIf cfg.enable {
    programs.steam = {
      enable = true;
    };

    environment.systemPackages = [
      # TODO: Why is this package needed? <2024-05-16>
      pkgs.wineWowPackages.waylandFull
    ];
  };
}