!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

915 Members
Declaratively manage your switching, routing, wireless, tunneling and more.265 Servers

Load older messages


SenderMessageTime
29 Jun 2025
@hexa:lossy.networkhexa* someone should package up https://codeberg.org/liske/ifstate as an alternative for people who don't like networkd01:55:56
@hexa:lossy.networkhexahttps://ifstate.net/docs/namespaces/02:03:18
@hexa:lossy.networkhexaone thing it can do is network namespaces02:03:27
@hexa:lossy.networkhexaalso doesn't run as a daemon, but only makes changes when run02:04:01
@zhaofeng:zhaofeng.liZhaofeng Liwould be nice if there was a converter that takes networkd configs and emit ifstate ones, doesn't look very hard to do02:12:37
@hexa:lossy.networkhexaRedacted or Malformed Event02:16:53
@hexa:lossy.networkhexalike a one time translation mechanism?02:17:11
@hexa:lossy.networkhexacertainly not impossible02:17:20
@hexa:lossy.networkhexanothing I would want to have in nixpkgs02:17:27
@zhaofeng:zhaofeng.liZhaofeng Li basically one-time, but the use case is being able to still use systemd.network.* and have them handled by ifstate underneath 02:18:35
@hexa:lossy.networkhexapls no02:19:02
@hexa:lossy.networkhexawe already have that with useNetworkd and I hate it 02:19:08
@zhaofeng:zhaofeng.liZhaofeng Libut networkd configs are pretty nice to write I think :p02:20:39
@zhaofeng:zhaofeng.liZhaofeng Liit's also an escape hatch in case you end up hating ifstate and want to go back02:20:46
@hexa:lossy.networkhexaI get the appeal, but these are APIs we will not be able to deprecate02:21:37
@hexa:lossy.networkhexaeven if they are bad02:21:40
@hexa:lossy.networkhexalike network.interfaces 😄 02:21:43
@emilazy:matrix.orgemily is it that bad in the useNetworkd form? 02:22:17
@emilazy:matrix.orgemilyah, I guess you said as much02:22:33
@hexa:lossy.networkhexathere was something weird about that option that I don't remember anymore02:22:44
@emilazy:matrix.orgemilypretty much guaranteed to end up hellish due to impedance mismatches for API surfaces that big02:23:03
@hexa:lossy.networkhexa

Note that this option is experimental, enable at your own risk.

02:23:08
@hexa:lossy.networkhexafor useNetworkd 😄 02:23:14
@hexa:lossy.networkhexathanks linus02:23:17
@emilazy:matrix.orgemilyI think it was very near "switched on by default" stage at some point?02:23:49
@emilazy:matrix.orgemilyand then that just didn't happen02:23:55
@emilazy:matrix.orgemilyshim code for the options is certainly better than keeping scripted networking around indefinitely I think02:24:19
@emilazy:matrix.orgemily I think probably most people using networkd are using it through useNetworkd 02:24:44
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces-systemd.nix02:25:59
@hexa:lossy.networkhexabasically an implementation that needs to be worked at for changes on both sides02:26:34

Show newer messages


Back to Room ListRoom Version: 6