blob: d0c0087adeeb59acd73f17c382ba3b7fdea18b2c [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.graphics.package ] ++ config.hardware.graphics.extraPackages;
};
};
hardware.steam-hardware.enable = true;
environment.systemPackages = [
pkgs.steam-run
];
};
}