28 lines
721 B
Nix
28 lines
721 B
Nix
{ pkgs, inputs, nixpkgs-unstable, ... }:
|
|
{
|
|
programs = {
|
|
steam = {
|
|
enable = true;
|
|
package = nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system}.steam;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
gamescopeSession.enable = true;
|
|
extraPackages = with pkgs; [
|
|
steamtinkerlaunch
|
|
];
|
|
extraCompatPackages = with pkgs; [
|
|
steamtinkerlaunch
|
|
];
|
|
};
|
|
gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system}.gamescope;
|
|
};
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
steamtinkerlaunch
|
|
protonup-qt
|
|
];
|
|
}
|