31 lines
525 B
Nix
31 lines
525 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.graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
extraPackages = [ pkgs.amdvlk ];
|
|
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
|
|
};
|
|
}
|