29 lines
756 B
Nix
29 lines
756 B
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
nixpkgs-unstable.config.allowUnfree = true;
|
|
programs = {
|
|
steam = {
|
|
enable = true;
|
|
package = inputs.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
|
|
];
|
|
}
|