aboutsummaryrefslogtreecommitdiff
path: root/machines/common/steam.nix
blob: 0f68ca84f3707f1d10a8963c8fab9436b9c996f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{...}: {
  programs.steam = {
    enable = true;

    gamescopeSession = {
      enable = true;
      args = [
        "-W"
        "3840"
        "-H"
        "2160"
        "-f"
        "-e"
        "--xwayland-count"
        "2"
        "--hdr-enabled"
        "--hdr-itm-enabled"
      ];
    };
  };

  programs.gamescope = {
    enable = true;
    capSysNice = false;
  };

  hardware.steam-hardware.enable = true;
}