From 66232d31d1f115a796dc76a9f6df88a6b13c424e Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Mon, 23 Feb 2026 11:16:40 -0600 Subject: bullets --- modules/system/nixos/networking/networkd.nix | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'modules/system/nixos/networking/networkd.nix') diff --git a/modules/system/nixos/networking/networkd.nix b/modules/system/nixos/networking/networkd.nix index 37b0908..d0e9eed 100644 --- a/modules/system/nixos/networking/networkd.nix +++ b/modules/system/nixos/networking/networkd.nix @@ -38,20 +38,16 @@ in networks."11-lan" = { name = "wl*"; - networkConfig = - ( - if dhcp_enabled - then {DHCP = "yes";} - else { - Address = cfg.static.ip; - Gateway = cfg.static.gateway; - DHCP = "no"; - # DNS is managed by systemd-resolved (not specified here) - } - ) - // { - LinkLocalAddressing = "no"; - }; + networkConfig = ( + if dhcp_enabled + then {DHCP = "yes";} + else { + Address = cfg.static.ip; + Gateway = cfg.static.gateway; + DHCP = "no"; + # DNS is managed by systemd-resolved (not specified here) + } + ); dhcpV4Config.UseDNS = "no"; dhcpV6Config.UseDNS = "no"; -- cgit v1.3.1