dotfiles/modules/gaming/leagueoflegends.nix

14 lines
319 B
Nix
Raw Normal View History

2022-05-22 23:43:46 +00:00
{ config, pkgs, lib, ... }: {
2022-04-26 01:54:53 +00:00
2022-05-22 23:43:46 +00:00
options.gaming.leagueoflegends = lib.mkEnableOption "League of Legends";
2022-04-26 01:54:53 +00:00
2022-05-22 23:43:46 +00:00
config = lib.mkIf config.gaming.leagueoflegends {
2022-04-26 01:54:53 +00:00
# League of Legends anti-cheat
boot.kernel.sysctl = { "abi.vsyscall32" = 0; };
environment.systemPackages = with pkgs; [ openssl dconf ];
};
}