about summary refs log tree commit diff stats
path: root/modules/system/services/steam/default.nix
blob: 6e507fd92187fc31a9d90ac0daea737c5395cbd5 (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 "Stream";
  };

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

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