2022-04-26 19:59:55 -04:00
|
|
|
{ config, pkgs, lib, ... }:
|
2022-04-25 21:54:53 -04:00
|
|
|
|
2022-04-26 19:59:55 -04:00
|
|
|
with lib;
|
|
|
|
let cfg = config.modules.gaming.leagueoflegends;
|
2022-04-25 21:54:53 -04:00
|
|
|
|
2022-04-26 19:59:55 -04:00
|
|
|
in {
|
|
|
|
|
|
|
|
options.modules.gaming.leagueoflegends = {
|
2022-04-27 09:23:26 -04:00
|
|
|
enable = mkEnableOption "League of Legends";
|
2022-04-26 19:59:55 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2022-04-25 21:54:53 -04:00
|
|
|
|
|
|
|
# League of Legends anti-cheat
|
|
|
|
boot.kernel.sysctl = { "abi.vsyscall32" = 0; };
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [ openssl dconf ];
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|