commit c60d950510e346747282441d421317d7111945eb
parent 83f59fa26f131d71bf89aaeb3607a10db30c29f1
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sun, 26 Apr 2020 13:53:12 +0200
Networking: fix bridges setup
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/tmp/nixos-configuration/machine/honshu.nix b/tmp/nixos-configuration/machine/honshu.nix
@@ -5,7 +5,8 @@ with import ../assets/machines.nix; {
networking = {
firewall.enable = false; # we are in safe territory :D
bridges.br1.interfaces = [ "eno1" ];
- interfaces.eno1 = {
+ useDHCP = false;
+ interfaces.br1 = {
useDHCP = true;
};
};
diff --git a/tmp/nixos-configuration/machine/okinawa.nix b/tmp/nixos-configuration/machine/okinawa.nix
@@ -9,7 +9,7 @@ with import ../assets/machines.nix; {
firewall.enable = false; # we are in safe territory :D
bridges.br1.interfaces = [ "enp0s31f6" ];
useDHCP = false;
- interfaces.enp0s31f6 = {
+ interfaces.br1 = {
useDHCP = true;
};
};
diff --git a/tmp/nixos-configuration/machine/sakhalin.nix b/tmp/nixos-configuration/machine/sakhalin.nix
@@ -8,7 +8,8 @@ with import ../assets/machines.nix; {
networking = {
firewall.enable = false; # we are in safe territory :D
bridges.br1.interfaces = [ "enp0s31f6" ];
- interfaces.enp0s31f6 = {
+ useDHCP = false;
+ interfaces.br1 = {
useDHCP = true;
};
};