feat: gtav battleye workaround

This commit is contained in:
msyds committed 2026-03-31 13:00:48 -06:00
1 parent af08b2f1b1
commit 1825424cbb
2 files changed
+18

No files matched your search

+1
View File
@@ -21,6 +21,7 @@
stylix.enable = true;
qemu.enable = true;
flatpak.enable = true;
gtav-battleye-hack.enable = true;
# gdm.enable = true;
openssh.enable = true;
sydpkgs.overlay.enable = true;
+17
View 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"
];
};
}