feat: gtav battleye workaround
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
qemu.enable = true;
|
qemu.enable = true;
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
|
gtav-battleye-hack.enable = true;
|
||||||
# gdm.enable = true;
|
# gdm.enable = true;
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
sydpkgs.overlay.enable = true;
|
sydpkgs.overlay.enable = true;
|
||||||
|
|||||||
17
modules/nixos/gtav-battleye-hack.nix
Normal file
17
modules/nixos/gtav-battleye-hack.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let cfg = config.sydnix.gtav-battleye-hack;
|
||||||
|
in {
|
||||||
|
options.sydnix.gtav-battleye-hack = {
|
||||||
|
enable = lib.mkEnableOption
|
||||||
|
"Grand Theft Auto V Online BattlEye workaround";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
networking.hosts."0.0.0.0" = [
|
||||||
|
"paradise-s1.battleye.com"
|
||||||
|
"test-s1.battleye.com"
|
||||||
|
"paradiseenhanced-s1.battleye.com"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user