!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

883 Members
Declaratively manage your switching, routing, wireless, tunneling and more. | Don't rely on `networking.*` for interface and routing setup, use systemd-networkd, ifstate or NetworkManager instead. | Set `SYSTEMD_LOG_LEVEL=debug` to debug networking issues with networkd | No bad nft puns, please. | Room recommendations: #sysops:nixos.org260 Servers

Load older messages


SenderMessageTime
19 Jun 2026
@k900:0upti.meK900 But it's like 12:54:33
@k900:0upti.meK900Fine12:54:37
@k900:0upti.meK900The scripted networking predates networkd and significantly predates networkd being usable12:54:53
@k900:0upti.meK900And is in fact marked as kinda-deprecated already12:55:04
@vengmark2:matrix.org@vengmark2:matrix.org left the room.12:55:30
@matthewcroughan:defenestrate.itmatthewcroughan Yeah, so when scripted networking is completely deprecated, you could also deprecate the networking.* modules altogether, and then people can just write networkd config, right? 12:58:55
@matthewcroughan:defenestrate.itmatthewcroughan Or is the networking.* module doing more than I think? 12:59:41
@k900:0upti.meK900Yes13:00:42
@me:m4rc3l.deMarcel E.g. networking.ifstate is not part of scripted networking 13:14:36
@matthewcroughan:defenestrate.itmatthewcroughan Is it actually possible to opt out of the networking module altogether? 13:35:35
@me:m4rc3l.deMarcelI don't really know13:37:30
@me:m4rc3l.deMarcel

disabledModules = [ "services/databases/postgresql.nix" ];

Could be working, one just needs to gather all scripted related modules

13:38:23
@k900:0upti.meK900 Not currently 13:44:39
@k900:0upti.meK900Probably a bad idea really13:44:47
@k900:0upti.meK900 There's stuff like networking.hostName in there 13:45:16
@matthewcroughan:defenestrate.itmatthewcroughanOh yeah true13:48:08
@magic_rb:matrix.redalder.orgmagic_rbThe only thing i dont like about ifstate that its daemon less. Id like for there to be a way to have it respond to netlink messages and ignore interfaces it cant find. Then when they show up, it should configure them correctly.14:42:53
@magic_rb:matrix.redalder.orgmagic_rbIk thats a very hard problem to solve ofc14:43:05
@me:m4rc3l.deMarcel I wondered if something like that would be possible with udev. So let udev run ifstate if udev detects a change in networking devices. Idk if something like that is possible 18:27:56
@magic_rb:matrix.redalder.orgmagic_rb Sure, also an option but with you dev you only get device added/removed i think. You wouldnt get things like up/down or config changes. 18:37:20
@me:m4rc3l.deMarcel Probably right 21:27:28
@me:m4rc3l.deMarcel On the other side, it's primary use case is on servers and not client devices 21:27:59

There are no newer messages yet.


Back to Room ListRoom Version: 6