This commit is contained in:
Lucy Hochkamp 2024-04-02 15:35:35 +02:00
parent 9ef6e78e2d
commit 8116a2953d
No known key found for this signature in database

View file

@ -27,15 +27,7 @@ with lib;
cfg.config);
networking.interfaces = {
${bridgeExt}.ipv4.addresses = [{ address = "192.168.129.1"; prefixLength = 24; }];
} // (optionalAttrs cfg.bridges
(mapAttrs
(server: _: {
name = bridge server;
value = { ipv4.addresses = [ ]; };
})
cfg.config
)
);
};
networking.nat = {
enable = true;