dotfiles/modules/gaming/leagueoflegends.nix
2022-04-27 09:23:26 -04:00

21 lines
384 B
Nix

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