dotfiles/modules/gaming/leagueoflegends.nix
2022-05-22 19:43:46 -04:00

14 lines
319 B
Nix

{ config, pkgs, lib, ... }: {
options.gaming.leagueoflegends = lib.mkEnableOption "League of Legends";
config = lib.mkIf config.gaming.leagueoflegends {
# League of Legends anti-cheat
boot.kernel.sysctl = { "abi.vsyscall32" = 0; };
environment.systemPackages = with pkgs; [ openssl dconf ];
};
}