a
This commit is contained in:
parent
9ef6e78e2d
commit
8116a2953d
1 changed files with 1 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue