mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
Add any number of wine packages
Add any number of proton packages
Link runners directly from nix instead of using lutris.
Specify the steam package lutris should use.
Extra packages passed to lutris (mainly since it's often missing essential things, such as umu-launcher)
17 lines
486 B
Nix
17 lines
486 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
programs.lutris = {
|
|
enable = true;
|
|
protonPackages = with pkgs; [ proton-ge-bin ];
|
|
winePackages = with pkgs; [ wineWow64Packages.full ];
|
|
};
|
|
|
|
nmt.script =
|
|
let
|
|
runnersDir = "home-files/.local/share/lutris/runners";
|
|
in
|
|
''
|
|
assertFileExists ${runnersDir}/proton/${lib.toLower pkgs.proton-ge-bin.steamcompattool.name}/proton
|
|
assertFileExists ${runnersDir}/wine/${lib.toLower pkgs.wineWow64Packages.name}/bin/wine
|
|
'';
|
|
}
|