about summary refs log tree commit diff stats
path: root/modules/by-name/st/steam/module.nix
blob: 49149cd7198ab526898e56363ca4be1c7fa0ba73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  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
    ];
  };
}