This commit is contained in:
2026-06-10 19:59:29 +02:00
parent bb427145df
commit 118a00f6d7
7 changed files with 163 additions and 21 deletions
+4 -6
View File
@@ -1,6 +1,10 @@
{ pkgs, ... }:
{
imports = [
./gaming/wine-proton.nix
];
programs = {
appimage = {
enable = true;
@@ -14,7 +18,6 @@
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
gamescopeSession.enable = true;
protontricks.enable = true;
};
};
@@ -23,13 +26,8 @@
gamemode
goverlay
heroic
lact
lutris
mangohud
prismlauncher
protontricks
steam-run
wineWowPackages.stable
winetricks
];
}
+20
View File
@@ -0,0 +1,20 @@
{ pkgs, ... }:
{
programs.steam.protontricks.enable = true;
environment.systemPackages = with pkgs; [
dxvk
protontricks
protonplus
steam-run
umu-launcher
vkd3d-proton
wineWowPackages.stable
winetricks
];
environment.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "$HOME/.steam/root/compatibilitytools.d";
};
}
+29
View File
@@ -0,0 +1,29 @@
{ pkgs, ... }:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = [
pkgs.amdvlk
pkgs.rocmPackages.clr
pkgs.rocmPackages.clr.icd
];
extraPackages32 = [
pkgs.driversi686Linux.amdvlk
];
};
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.amdgpu = {
initrd.enable = true;
opencl.enable = true;
};
environment.systemPackages = with pkgs; [
lact
mesa-demos
vulkan-tools
];
}
+1
View File
@@ -9,6 +9,7 @@
services.xserver.videoDrivers = [ "amdgpu" ];
environment.systemPackages = with pkgs; [
lact
mesa-demos
vulkan-tools
];
+22
View File
@@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
modesetting.enable = true;
nvidiaSettings = true;
open = true;
package = config.boot.kernelPackages.nvidiaPackages.latest;
};
environment.systemPackages = with pkgs; [
mesa-demos
vulkan-tools
];
}