Files
LillyOS/modules/gaming/steam.nix

29 lines
774 B
Nix

{ pkgs, inputs, nixpkgs-unstable, ... }:
{
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
];
}