summaryrefslogtreecommitdiff
path: root/nixos/packages-gaming.nix
blob: 67b9ec3d2ef36248f16a30aa3475db9ad9b363ac (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
30
31
32
33
34
{
  inputs,
  pkgs,
  ...
}: {
  hardware.graphics = {
    enable = true;
    enable32Bit = true;
  };

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

  programs.steam = {
    enable = true;
    gamescopeSession.enable = true;
    extraCompatPackages = with pkgs; [
      proton-ge-bin
    ];
  };
}