blade-janeway: fix interfaces

This commit is contained in:
Luke Granger-Brown 2021-02-25 12:29:05 +00:00
parent f1905cb450
commit 7cd70420c6
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ in {
hostName = "blade-janeway";
hostId = "3a62390f";
bridges.br-mgmt.interfaces = [ "enp4s0f0" ];
bridges.br-storage.interfaces = [ "enp4s0f2" ];
bridges.br-storage.interfaces = [ "enp4s0f1" ];
bridges.br-ext.interfaces = [ "enp5s0f0" ];
interfaces.br-ext.ipv4.addresses = [{
address = "192.168.1.180";

View file

@ -40,7 +40,7 @@ in {
nameservers = ["8.8.8.8" "8.8.4.4"];
useDHCP = false;
bridges = let
br = interfaces: { inherit interfaces; rstp = false; };
br = interfaces: { interfaces = lib.mkDefault interfaces; rstp = false; };
in {
br-mgmt = br [ "enp4s0f0" ];
br-storage = br [ "enp4s0f1" ];