{ config, ... }: { services.traefik = { enable = true; staticConfigOptions = { # Enable the web ui api.insecure = true; api.dashboard = true; entryPoints = { http = { address = ":80"; }; }; }; }; networking.firewall.allowedTCPPorts = [ 80 8080 ]; }