remove league of legends as anticheat no longer supports linux

This commit is contained in:
Noah Masur 2024-03-30 13:48:26 -04:00
parent 0de2c429f2
commit c4a1c7564c
2 changed files with 0 additions and 33 deletions

View File

@ -3,7 +3,6 @@
imports = [ imports = [
./chiaki.nix ./chiaki.nix
./dwarf-fortress.nix ./dwarf-fortress.nix
./leagueoflegends.nix
./legendary.nix ./legendary.nix
./lutris.nix ./lutris.nix
./minecraft-server.nix ./minecraft-server.nix

View File

@ -1,32 +0,0 @@
{ config, pkgs, lib, ... }: {
options.gaming.leagueoflegends.enable =
lib.mkEnableOption "League of Legends";
config =
lib.mkIf (config.gaming.leagueoflegends.enable && pkgs.stdenv.isLinux) {
# League of Legends anti-cheat requirement
boot.kernel.sysctl = { "abi.vsyscall32" = 0; };
environment.systemPackages = with pkgs; [
# Lutris requirement to install the game
lutris
amdvlk
wineWowPackages.stable
# vulkan-tools
# Required according to https://lutris.net/games/league-of-legends/
openssl
gnome.zenity
# Don't remember if this is required
dconf
];
environment.sessionVariables = { QT_X11_NO_MITSHM = "1"; };
};
}