lutris and wine for thinkpad

This commit is contained in:
Andrea Ciceri 2023-04-01 11:41:39 +02:00
parent 2ce75e98be
commit ea18267fa5
No known key found for this signature in database
3 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,3 @@
{pkgs, ...}: {
home.packages = [pkgs.lutris];
}

View file

@ -0,0 +1,23 @@
{pkgs, ...}: {
home.packages = with pkgs; [
# ...
# support both 32- and 64-bit applications
# wineWowPackages.stable
# support 32-bit only
# wine
# support 64-bit only
# (wine.override { wineBuild = "wine64"; })
# wine-staging (version with experimental features)
# wineWowPackages.staging
# winetricks (all versions)
winetricks
# native wayland support (unstable)
wineWowPackages.waylandFull
];
}

View file

@ -61,6 +61,9 @@
"chrome" "chrome"
"obs-studio" "obs-studio"
"spotify" "spotify"
"steam-run"
"lutris"
"wine"
]; ];
packages = with pkgs; [ packages = with pkgs; [
comma comma
@ -181,6 +184,7 @@
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-media-driver intel-media-driver
mesa mesa
@ -190,4 +194,10 @@
libvdpau-va-gl libvdpau-va-gl
]; ];
}; };
users.groups.input.members = ["ccr"];
services.udev.extraRules = ''
Sunshine
KERNEL=="uinput", GROUP="input", MODE="0660", OPTIONS+="static_node=uinput"
'';
} }