blob: d0c0087adeeb59acd73f17c382ba3b7fdea18b2c [file] [log] [blame]
Skyler Grey4fe40b42024-03-04 18:39:57 +00001{ config, lib, pkgs, ... }:
2{
3 options = {
4 chimera.games.steam.enable = lib.mkEnableOption "Enable Steam";
5 };
6
7 config = {
8 programs.steam = lib.mkIf config.chimera.games.steam.enable {
9 enable = true;
10 remotePlay.openFirewall = true;
11
12 package = pkgs.steam.override
13 {
Samuel Shuert70698fd2024-08-23 10:59:43 -040014 extraLibraries = pkgs: [ config.hardware.graphics.package ] ++ config.hardware.graphics.extraPackages;
Skyler Grey4fe40b42024-03-04 18:39:57 +000015 };
16 };
17 hardware.steam-hardware.enable = true;
18
19 environment.systemPackages = [
20 pkgs.steam-run
21 ];
22 };
23}