zaneyos/config/system/steam.nix

17 lines
365 B
Nix
Raw Normal View History

{ pkgs, config, lib, cpuType, ... }:
{
# Steam Configuration
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
package = lib.mkIf ("${cpuType}" == "intel") {
2024-01-24 01:18:39 +01:00
pkgs.steam.override = {
withPrimus = true;
extraPkgs = [ pkgs.bumblebee pkgs.glxinfo ];
};
};
};
}