lutris
and wine
for thinkpad
This commit is contained in:
parent
2ce75e98be
commit
ea18267fa5
3 changed files with 36 additions and 0 deletions
3
hmModules/lutris/default.nix
Normal file
3
hmModules/lutris/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = [pkgs.lutris];
|
||||||
|
}
|
23
hmModules/wine/default.nix
Normal file
23
hmModules/wine/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
|
@ -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"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue