infrastructure/nixos-configurations/lindberg-webapps/networking.nix
Fabian Hauser 9b83ccf8c5
Some checks failed
CI / build (push) Has been cancelled
Refactore backplane-net to module with hosts
2024-12-09 16:30:45 +02:00

15 lines
280 B
Nix

{ config, pkgs, ... }:
{
networking.hostName = config.qois.meta.hosts.lindberg-webapps.hostName;
networking.useDHCP = false;
networking.interfaces.enp1s0.useDHCP = true;
qois.backplane-net.enable = true;
networking.firewall.allowedTCPPorts = [
80
443
];
}