summaryrefslogtreecommitdiff
path: root/nixos/packages-gaming.nix
blob: 1d07b7beffb7894b5c91fb01e2fef61550ef3193 (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
29
{
  inputs,
  pkgs,
  ...
}: {
  hardware.graphics = {
    enable = true;
    enable32Bit = true;
  };

  environment.systemPackages = with pkgs; [
    gamescope
    pulseaudio
    inputs.serpantinum.packages.${pkgs.stdenv.hostPlatform.system}.default
    (prismlauncher.override {
      jdks = [
        zulu8
        zulu17
        zulu21
      ];
      additionalPrograms = [ ffmpeg ];
    })
  ];

  programs.steam = {
    enable = true;
    gamescopeSession.enable = true;
  };
}