2023-09-24 10:29:51 +01:00
|
|
|
{ lib, pkgs, ... }:
|
2023-09-16 17:58:43 +01:00
|
|
|
|
|
|
|
{
|
2023-09-24 19:56:46 +01:00
|
|
|
environment.systemPackages = with pkgs; [ prismlauncher discord ];
|
2023-09-21 08:51:07 +01:00
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
2023-09-24 19:56:46 +01:00
|
|
|
builtins.elem (lib.getName pkg) [
|
|
|
|
"steam"
|
|
|
|
"steam-original"
|
|
|
|
"steam-run"
|
|
|
|
"discord"
|
|
|
|
];
|
2023-09-16 17:58:43 +01:00
|
|
|
hardware = {
|
|
|
|
opengl.driSupport32Bit = true;
|
|
|
|
steam-hardware.enable = true;
|
|
|
|
};
|
|
|
|
programs = {
|
|
|
|
xwayland.enable = true;
|
|
|
|
gamescope = {
|
|
|
|
enable = true;
|
|
|
|
capSysNice = true;
|
|
|
|
};
|
|
|
|
steam = {
|
|
|
|
enable = true;
|
|
|
|
remotePlay.openFirewall = true;
|
|
|
|
gamescopeSession.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|