about summary refs log blame commit diff stats
path: root/modules/system/services/steam/default.nix
blob: 49149cd7198ab526898e56363ca4be1c7fa0ba73 (plain) (tree)
1
2
3
4
5
6
7
8
9

         
       



                                      
                                        
    
 


                                
 
                                  
                                                      
                                      
    
 
{
  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
    ];
  };
}