!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

910 Members
Declaratively manage your switching, routing, wireless, tunneling and more.272 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
29 Jun 2025
@elvishjerricco:matrix.orgElvishJerriccoand it's not been a problem04:48:11
@hexa:lossy.networkhexawe ship with networkd either way04:48:11
@hexa:lossy.networkhexaand it will have no config files, so it will not match anything04:48:19
@emilazy:matrix.orgemily
In reply to @hexa:lossy.network
we ship with networkd either way
not enabled
04:48:21
@emilazy:matrix.orgemilybut fair04:48:26
@hexa:lossy.networkhexayeah, not sure about enable toggle, but it will be a noop04:48:40
@emilazy:matrix.orgemily
In reply to @uep:matrix.org
usedhcp is a fine default for a generic system with wired interfaces, regardless of which dhcp mechanism delivers the implementation. On a server, maybe you want static on at least some interfaces, so sure, you add config for those.

The issue is wireless. If a wireless interface appears, adding a dhcp client gets in the way of whatever mechanism the user is going to use to set ssid and keys, and so it has to get out of the way
I thought our useDHCP default for networkd was wired only
04:50:23
@elvishjerricco:matrix.orgElvishJerricconope04:50:29
@emilazy:matrix.orgemilyok, well04:50:40
@elvishjerricco:matrix.orgElvishJerriccohttps://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces-systemd.nix#L56-L7504:50:50
@emilazy:matrix.orgemily what if we just introduce systemd.network.dwim = true; that ships the sane file for doing that that I think upstream has 04:51:11
@emilazy:matrix.orgemily and put that in configuration.nix 04:51:22
@hexa:lossy.networkhexalolsob … manual metric tuning04:51:25
@hexa:lossy.networkhexanetworkmanager to the rescue04:51:28

Show newer messages


Back to Room ListRoom Version: 6