diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-02-23 11:16:40 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-02-23 11:16:40 -0600 |
| commit | 66232d31d1f115a796dc76a9f6df88a6b13c424e (patch) | |
| tree | a2cb039bd1b84583f9a52a7e4ceff01951b83dd6 /modules/system/nixos | |
| parent | 93ddc9cb616d1fcabd8f1b7cab338d1da8701fd4 (diff) | |
bullets
Diffstat (limited to 'modules/system/nixos')
| -rw-r--r-- | modules/system/nixos/networking/networkd.nix | 24 |
1 files changed, 10 insertions, 14 deletions
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"; |
