attempts to improve league install

This commit is contained in:
Noah Masur 2022-05-26 19:33:18 -04:00
parent 86c86d0215
commit 2b72ffb6cf
2 changed files with 19 additions and 3 deletions

View File

@ -4,10 +4,26 @@
config = lib.mkIf config.gaming.leagueoflegends { config = lib.mkIf config.gaming.leagueoflegends {
# League of Legends anti-cheat nixpkgs.config.allowUnfree = true;
# League of Legends anti-cheat requirement
boot.kernel.sysctl = { "abi.vsyscall32" = 0; }; boot.kernel.sysctl = { "abi.vsyscall32" = 0; };
environment.systemPackages = with pkgs; [ openssl dconf ]; environment.systemPackages = with pkgs; [
# Lutris requirement to install the game
lutris
amdvlk
wine
# Required according to https://lutris.net/games/league-of-legends/
openssl
gnome.zenity
# Don't remember if this is required
dconf
];
}; };
} }

View File

@ -2,7 +2,7 @@
options.gaming.lutris = lib.mkEnableOption "Lutris"; options.gaming.lutris = lib.mkEnableOption "Lutris";
config = lib.mkIf (config.gaming.lutris || config.gaming.leagueoflegends) { config = lib.mkIf config.gaming.lutris {
environment.systemPackages = with pkgs; [ lutris amdvlk wine ]; environment.systemPackages = with pkgs; [ lutris amdvlk wine ];
}; };