From c4a1c7564c387c4f5427083f3740989be4999c94 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 30 Mar 2024 13:48:26 -0400 Subject: [PATCH] remove league of legends as anticheat no longer supports linux --- modules/nixos/gaming/default.nix | 1 - modules/nixos/gaming/leagueoflegends.nix | 32 ------------------------ 2 files changed, 33 deletions(-) delete mode 100644 modules/nixos/gaming/leagueoflegends.nix diff --git a/modules/nixos/gaming/default.nix b/modules/nixos/gaming/default.nix index fb12519..1e47dc5 100644 --- a/modules/nixos/gaming/default.nix +++ b/modules/nixos/gaming/default.nix @@ -3,7 +3,6 @@ imports = [ ./chiaki.nix ./dwarf-fortress.nix - ./leagueoflegends.nix ./legendary.nix ./lutris.nix ./minecraft-server.nix diff --git a/modules/nixos/gaming/leagueoflegends.nix b/modules/nixos/gaming/leagueoflegends.nix deleted file mode 100644 index 2950d47..0000000 --- a/modules/nixos/gaming/leagueoflegends.nix +++ /dev/null @@ -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"; }; - - }; -}