zaneyos/config/system/intel-steam.nix
2024-01-20 22:33:57 -06:00

15 lines
367 B
Nix

{ pkgs, config, lib, deviceProfile, ... }:
lib.mkIf ("${deviceProfile}" == "intel-laptop") {
# Steam Configuration
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
package = pkgs.steam.override {
withPrimus = true;
extraPkgs = pkgs: [ pkgs.bumblebee pkgs.glxinfo ];
};
};
}