mediaserver: add nginx
This commit is contained in:
parent
1af46ec9e9
commit
817215c64b
1 changed files with 2 additions and 5 deletions
|
@ -29,15 +29,12 @@
|
|||
networking.firewall.interfaces = builtins.listToAttrs
|
||||
(builtins.map
|
||||
(iface:
|
||||
let
|
||||
xx = builtins.trace iface iface;
|
||||
in
|
||||
{
|
||||
name = xx;
|
||||
name = iface;
|
||||
value = {
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowedUDPPorts = [ 443 ];
|
||||
};
|
||||
})
|
||||
(lib.mapAttrsToList (name: value: value.matchConfig.Name) config.systemd.network.networks ++ [ "tailscale0" ]));
|
||||
(builtins.filter builtins.isString (lib.mapAttrsToList (name: value: value.matchConfig.Name) config.systemd.network.networks ++ [ "tailscale0" ])));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue