!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

907 Members
Declaratively manage your switching, routing, wireless, tunneling and more.263 Servers

Load older messages


SenderMessageTime
8 Jan 2026
@pltrz_:matrix.orgpltrz set a profile picture.23:50:10
9 Jan 2026
@pltrz_:matrix.orgpltrz changed their profile picture.00:00:41
10 Jan 2026
@catbrained:tchncs.decatbrained (she/her) changed their display name from catbrained to catbrained (she/her).00:28:17
@sandro:supersandro.deSandro 🐧I would need some feedback for https://github.com/NixOS/nixpkgs/pull/47704906:53:08
@magic_rb:matrix.redalder.orgmagic_rb I want to switch to ifstate on my laptop, but i need it to respond yo events like "a usb ethernet dongle was plugged in" my idea is to run ifstate in response to netlink events, specifically by running ip monitor and then debouncing it 11:15:05
@magic_rb:matrix.redalder.orgmagic_rbHas anyone thought about this before?11:15:16
@k900:0upti.meK900The lengths people would go to to not run networkmanager11:15:31
@k900:0upti.meK900smdh11:15:32
@magic_rb:matrix.redalder.orgmagic_rbI want to do multiple namespaces11:15:45
@magic_rb:matrix.redalder.orgmagic_rbWhich is a pain with everything but ifstate11:15:52
@magic_rb:matrix.redalder.orgmagic_rbCurrently im running networkd11:16:08
@magic_rb:matrix.redalder.orgmagic_rbAnd networkd is alright, but again, namespaces my beloved11:16:29
@magic_rb:matrix.redalder.orgmagic_rbWhat im thinking about is somehow doing the "wireguard in init namespace, physical ifaces in a separate namespace" to force all outward traffic to go through WG. But also be able to skip past it per program for captive portals and also be able to disable it at home11:18:21
@magic_rb:matrix.redalder.orgmagic_rbIdk if there is a better way11:18:26
@magic_rb:matrix.redalder.orgmagic_rbIm open to simpler ideas :)11:23:21
@magic_rb:matrix.redalder.orgmagic_rbMy laptops config is more complicated than most vps' on hetzner11:23:51
@hexa:lossy.networkhexaVrfs11:33:04
@magic_rb:matrix.redalder.orgmagic_rbVrwhatbow11:43:38
@magic_rb:matrix.redalder.orgmagic_rb*now, ill look up11:43:41
@magic_rb:matrix.redalder.orgmagic_rb Hm, still has the issue of 0.0.0.0 dev wg0 causes an infinite loop and a route has to be added manually for the default gateway. Which will break if the default gateway changes 11:48:15
@k900:0upti.meK900If you use NM, it will automatically add a route for the gateway11:48:50
@kraftnix:kraftnix.devkraftnixI hadn't heard of VRFs, but seems not too dissimilar to what I do, PBR11:50:51
@magic_rb:matrix.redalder.orgmagic_rb I left NM and i am not going back. I prefer networkd by a lot. I can actually hardcode all the settings in Nix and its nice and predictable 11:52:20
@magic_rb:matrix.redalder.orgmagic_rbMight still go NS approach, gives me separate firewalls too11:53:14
@hexa:lossy.networkhexaprober netns support in nixos modules when11:57:32
@magic_rb:matrix.redalder.orgmagic_rbWhen systemd has it11:58:01
@magic_rb:matrix.redalder.orgmagic_rbSo never11:58:04
@hexa:lossy.networkhexayou mentioned firewalls11:58:19
@hexa:lossy.networkhexaso we would clearly also need to add to other modules11:58:37
@magic_rb:matrix.redalder.orgmagic_rbIve done, and i wanted to kms11:58:45

Show newer messages


Back to Room ListRoom Version: 6