!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

Load older messages


SenderMessageTime
17 Jun 2025
@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
@zhaofeng:zhaofeng.liZhaofeng Liwell, rarer yes, but less expensive and disruptive to the existing infrastructure16:21:27
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
I 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 instead
coughs nefarious purposes
16:35:17
@charles:computer.surgeryCharlesi'm reminded of this article i just saw like 10 minutes ago https://hackaday.com/2025/06/16/an-open-source-justification-for-usb-cable-paranoia/17:07:14
@raitobezarius:matrix.orgraitobezarius
In reply to @charles:computer.surgery
i'm reminded of this article i just saw like 10 minutes ago https://hackaday.com/2025/06/16/an-open-source-justification-for-usb-cable-paranoia/
https://shop.hak5.org/
18:02:30
@autiboy:matrix.mautiweb.netAutiboyHas anyone used NixOS to provision mikrotik routers?18:04:09
@zenware:matrix.orgzenware
In reply to @zhaofeng:zhaofeng.li
so 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/etc
At best it provides side-band access, out-of-band requires different communication infrastructure. e.g. Wireline/POTS, Radio, ... Such that if your SFP failed, you would still be able to access that system. While, it is kind of cool, by running inside the SFP you're practically more "in-band" than just a cable itself.
19:39:01
@plantfan27:matrix.orgplantfan27 joined the room.21:38:05
18 Jun 2025
@zeromute:matrix.org@zeromute:matrix.org joined the room.00:52:32
@hexa:lossy.networkhexa
diff --git a/nixos/modules/config/resolvconf.nix b/nixos/modules/config/resolvconf.nix
index f9c9d04b3fbe..79d3b2043148 100644
--- a/nixos/modules/config/resolvconf.nix
+++ b/nixos/modules/config/resolvconf.nix
@@ -158,6 +158,10 @@ in
 
   config = lib.mkMerge [
     {
+      warnings = lib.optionals (!cfg.enable && cfg.useLocalResolver) ''
+        The resolvconf module was instructed to configure the local resolver (127.0.0.1, ::1) in /etc/resolv.conf, but resolvconf was disabled.
+      '';
+
       environment.etc."resolvconf.conf".text =
         if !cfg.enable then
           # Force-stop any attempts to use resolvconf
06:40:23
@hexa:lossy.networkhexa emily: roast me 06:40:27
@hexa:lossy.networkhexa(while I take a nap)06:40:32
@emilazy:matrix.orgemily
In reply to @hexa:lossy.network
emily: roast me
do we have precedent for this kind of thing? I feel like it's normal for modules to configure defaults for other modules that might not be enabled (and in general to expect that you can set foo.X harmlessly if !foo.enable). I feel like it would be better for the resolver service modules to either get out of the game of setting the local resolver entirely or to explicitly turn on resolvconf to cause an explicit conflict
13:43:19
@emilazy:matrix.orgemily(or we could move the setting out of resolvconf and have the resolved module respect it but that might be tricky)13:43:44
@alina:kescher.at@alina:kescher.atcan someone please give me some feedback for how to deal with unbound's broken upstream? https://github.com/NixOS/nixpkgs/pull/41791717:49:03
@alina:kescher.at@alina:kescher.atand my technically this is also my first nixpkgs PR because i have the tendency to rather not submit things that aren't entirely perfect, which i want to get rid off - i have like 10 different projects that are all 90% finished that i still want to upstream17:49:04
@alina:kescher.at@alina:kescher.at* and technically this is also my first nixpkgs PR because i have the tendency to rather not submit things that aren't entirely perfect, which i want to get rid off - i have like 10 different projects that are all 90% finished that i still want to upstream17:49:12

Show newer messages


Back to Room ListRoom Version: 6