!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

921 Members
Declaratively manage your switching, routing, wireless, tunneling and more.267 Servers

Load older messages


SenderMessageTime
16 Jun 2025
@emilazy:matrix.orgemily (for the resolvconf command) 04:35:30
@emilazy:matrix.orgemily no, it uses the module system to link it to the /run path 04:35:52
@emilazy:matrix.orgemily resolvconf bypasses it entirely 04:35:55
@emilazy:matrix.orgemily I think that we need an assertion preventing both services.resolved.enable and networking.resolvconf.enable 04:37:25
@emilazy:matrix.orgemily however I suspect in your case stuff is setting networking.resolvconf.useLocalResolver but not networking.resolvconf.enable explicitly 04:37:37
@hexa:lossy.networkhexaright04:37:38
@emilazy:matrix.orgemily so there's not an actual conflict, just networking.resolvconf.enable defaulting off because there's an explicit resolv.conf symlink because of services.resolved.enable 04:38:00
@emilazy:matrix.orgemily and I'm not sure if asserting on networking.resolvconf.useLocalResolver when !networking.resolvconf.enable makes sense 04:38:11
@emilazy:matrix.orgemilysince usually module options are meant to be inert if the module is not enabled04:38:18
@emilazy:matrix.orgemily(agreed that there's a UX issue here I'm just not sure what the best solution is)04:38:36
@emilazy:matrix.orgemily it might be best to move the useLocalResolver outside of the resolver services altogether 04:40:10
@emilazy:matrix.orgemily since arguably enabling a service changing your resolv.conf is a bit action-at-a-distance to begin with 04:40:35
@emilazy:matrix.orgemily alternatively, lift useLocalResolver outside of networking.resolvconf, have services.resolved.enable either handle it or assert on it 04:41:09
17 Jun 2025
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 (4094@eh22) to jopejoe1 (4094@GPN23).12:06:53
@zhaofeng:zhaofeng.liZhaofeng Liby the way, has anyone tried one of those smart SFP optics?15:53:38
@zhaofeng:zhaofeng.liZhaofeng Linot a new thing (might have even mentioned this in this channel), but never really got to give it a try15:53:58
@zhaofeng:zhaofeng.liZhaofeng Li * 15:54:20
@k900:0upti.meK900Why tho15:55:42
@k900:0upti.meK900Like in most cases they're absolutely evil15:55:51
@k900:0upti.meK900And don't actually do anything your router can't do15:55:59
@k900:0upti.meK900 The one exception is PON modems which are just absolutely evil 15:56:08
@zhaofeng:zhaofeng.liZhaofeng Liwell, they are cool and you can probably do some fancy filtering/rewriting even with a dumb switch15:57:03
@emilazy:matrix.orgemilyI just don't know why you'd want mystery Linux running on a tiny little metal thing when you can run Linux on the thing it plugs into instead16:01:11
@autiboy:matrix.mautiweb.netAutiboy joined the room.16:07:47
@zhaofeng:zhaofeng.liZhaofeng Liso you can add some latency that mysteriously appears every other Saturday at 1am? 😈 apart from that, one actually useful thing I can think of is running tailscale on it to provide resilient OOB access to the switches/server IPMI/etc16:10:55
@zhaofeng:zhaofeng.liZhaofeng Lithere are some more ideas: https://blog.benjojo.co.uk/post/smart-sfp-linux-inside16:11:08
@emilazy:matrix.orgemilyit's an additional point of failure, right? I don't see how it's necessarily more resilient than what you'd run on the switch16:16:20
@zhaofeng:zhaofeng.liZhaofeng Liwell, not everyone has the luxury of having a Linux-capable (or Linux-accessible) switch16:19:32
@emilazy:matrix.orgemilya Linux-capable SFP+ is also its own even rarer luxury, right? :P16:20:30
@zhaofeng:zhaofeng.liZhaofeng Liand the power situation is presumably better than a device plugged in separately?16:20:33

Show newer messages


Back to Room ListRoom Version: 6