diff --git a/hosts/iron/configuration.nix b/hosts/iron/configuration.nix index deff6ad..ff5cd67 100644 --- a/hosts/iron/configuration.nix +++ b/hosts/iron/configuration.nix @@ -48,20 +48,20 @@ with lib; { networkmanager.enable = false; interfaces = { - enp3s4.ipv4.addresses = [{ + enp2s4.ipv4.addresses = [{ address = "192.168.42.1"; prefixLength = 24; }]; - enp4s5 = { + enp3s5 = { useDHCP = true; }; }; nat = { enable = true; - externalInterface = "enp4s5"; + externalInterface = "enp3s5"; internalInterfaces = [ - "enp3s4" + "enp2s4" ]; }; @@ -75,7 +75,7 @@ with lib; { services.radvd = { enable = true; config = '' - interface enp3s4 { + interface enp2s4 { AdvSendAdvert on; prefix ::/64 { AdvOnLink on; @@ -90,10 +90,10 @@ with lib; { noipv6rs waitip 6 - interface enp4s5 + interface enp3s5 ipv6rs ia_na 1 - ia_pd 1/::/64 enp3s4/0/64 + ia_pd 1/::/64 enp2s4/0/64 ''; boot = { diff --git a/hosts/iron/services/dyndns.nix b/hosts/iron/services/dyndns.nix index 2c4b7a1..9b4aebf 100644 --- a/hosts/iron/services/dyndns.nix +++ b/hosts/iron/services/dyndns.nix @@ -11,7 +11,7 @@ username = "nouser"; passwordFile = config.sops.secrets.duckdns-secret.path; domains = [ "jalr-bw" ]; - use = "if, if=enp4s5"; + use = "if, if=enp3s5"; #usev6=ifv6, ifv6=enp3s4 }; }