mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
27 lines
533 B
Nix
27 lines
533 B
Nix
{ ... }:
|
|
{
|
|
flake.nixosModules.gaming-steam =
|
|
{ pkgs, ... }:
|
|
{
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
protontricks.enable = true;
|
|
extraCompatPackages = with pkgs; [
|
|
proton-ge-bin
|
|
];
|
|
};
|
|
|
|
programs.gamescope = {
|
|
enable = true;
|
|
capSysNice = false;
|
|
env = {
|
|
INTEL_DEBUG = "noccs";
|
|
};
|
|
};
|
|
|
|
hardware.steam-hardware.enable = true;
|
|
};
|
|
}
|