mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 05:54:54 +00:00
21 lines
384 B
Nix
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 ];
|
|
|
|
};
|
|
}
|