feat: Enable online-mode for minecraft and enable white-list

This commit is contained in:
uttarayan21
2025-06-20 23:02:35 +05:30
parent bc5c1f9385
commit 371c35d73e
3 changed files with 34 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
{
config,
pkgs,
lib,
...
}: {
networking.hostName = "xatu";
networking.filrewall.logRefusedConnections = lib.mkDefault false;
networking.useNetworkd = true;
systemd.services.NetworkManager-wait-online.enable = false;
systemd.network.wait-online.enable = false;
system.nixos.tags = let
cfg = config.boot.loader.raspberryPi;
in [
"raspberry-pi-${cfg.variant}"
cfg.bootloader
config.boot.kernelPackages.kernel.version
];
}