nixcfg/cluster/prod/site/bespin.nix

18 lines
504 B
Nix
Raw Permalink Normal View History

2022-10-16 09:09:30 +00:00
{ config, pkgs, ... }:
{
2023-04-05 12:06:59 +00:00
deuxfleurs.siteName = "bespin";
deuxfleurs.staticIPv4.defaultGateway = "192.168.5.254";
deuxfleurs.cnameTarget = "bespin.site.deuxfleurs.fr.";
2023-06-02 13:40:43 +00:00
# Allow all ports from gateway for janky UPnP/IGD daemon
# networking.firewall = {
# extraCommands = ''
# iptables -A INPUT -s ${cfg.staticIPv4.defaultGateway} -p udp -j ACCEPT
# '';
# extraStopCommands = ''
# iptables -D INPUT -s ${cfg.staticIPv4.defaultGateway} -p udp -j ACCEPT
# '';
# };
2022-10-16 09:09:30 +00:00
}