35 lines
663 B
Nix
35 lines
663 B
Nix
{ pkgs, ... }: {
|
|
programs = {
|
|
gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
};
|
|
steam = {
|
|
enable = true;
|
|
gamescopeSession.enable = true;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
mangohud
|
|
steam-tui
|
|
steamcmd
|
|
vulkan-tools
|
|
vulkan-headers
|
|
vulkan-loader
|
|
wlroots
|
|
libdecor
|
|
];
|
|
|
|
hardware.opengl = {
|
|
enable = true;
|
|
## radv: an open-source Vulkan driver from freedesktop
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
|
|
## amdvlk: an open-source Vulkan driver from AMD
|
|
extraPackages = [ pkgs.amdvlk ];
|
|
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
|
|
};
|
|
}
|