mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-12 08:20:39 +01:00
17 lines
369 B
Nix
17 lines
369 B
Nix
|
{ pkgs, config, lib, cpuType, ... }:
|
||
|
|
||
|
{
|
||
|
# Steam Configuration
|
||
|
programs.steam = {
|
||
|
enable = true;
|
||
|
remotePlay.openFirewall = true;
|
||
|
dedicatedServer.openFirewall = true;
|
||
|
package = lib.mkIf ("${cpuType}" == "intel") {
|
||
|
pkgs.steam.override {
|
||
|
withPrimus = true;
|
||
|
extraPkgs = pkgs: [ pkgs.bumblebee pkgs.glxinfo ];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|