blob: 06a9a9a62e61593009e0231fcf45f4629d969a2b [file] [log] [blame]
{ config, lib, pkgs, ... }:
{
options = {
chimera.games.steam.enable = lib.mkEnableOption "Enable Steam";
};
config = {
programs.steam = lib.mkIf config.chimera.games.steam.enable {
enable = true;
remotePlay.openFirewall = true;
package = pkgs.steam.override
{
extraLibraries = pkgs: [ config.hardware.opengl.package ] ++ config.hardware.opengl.extraPackages;
};
};
hardware.steam-hardware.enable = true;
environment.systemPackages = [
pkgs.steam-run
];
};
}