Files
2026-05-09 16:17:24 +03:00

12 lines
447 B
Nix

{...} :
{
networking.firewall.allowedTCPPorts = [ 42420 25565 2049 ]; # 2049 - nfs, 25565 - generic
networking.firewall.allowedUDPPorts = [ 5900 ]; # 5900 - vnc
networking.firewall.trustedInterfaces = [ "enp12s0" "wlp11s0"];
# WoL
networking.interfaces.enp12s0.wakeOnLan.enable = true;
networking.interfaces.enp12s0.wakeOnLan.policy = [ "magic" ];
# throne
programs.throne.enable = true;
programs.throne.tunMode.enable = true;
}