!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

Load older messages


SenderMessageTime
21 May 2025
@emilazy:matrix.orgemilyoh god. oh god MIPS15:48:00
@emilazy:matrix.orgemilyoh god that's going to be fun with NixOS15:48:04
@emilazy:matrix.orgemilytime to become the NixOS MIPS maintainer15:48:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneWell I wouldn't want to use NixOS on it, but I would like to use Nix to compile the Linux kernel and everything else that's running on the device15:48:33
@emilazy:matrix.orgemily(except they surely wouldn't even fit NixOS)15:48:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneliminix is the thing that makes it easy to re-use openwrt's kernels, build them with nix and then run an environment that isn't nixos, but is built by nix, on mips devices15:49:38
@emilazy:matrix.orgemilysome of these things have nuts specs. "128 MB flash, 4 GB RAM"15:50:26
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneyeah that's way enough to run full nixos with systemd and everything actually 15:50:45
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneif you use systemd/musl lol15:50:51
@emilazy:matrix.orgemilyno it's not.15:51:00
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneit actually is though15:51:04
@emilazy:matrix.orgemilyno NixOS system closure fits in 128 megs.15:51:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI made one a few weeks ago, it does fit15:51:19
@hexa:lossy.networkhexahttps://www.liminix.org/15:51:35
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonethere's still plenty of ways to slim it down further 15:51:36
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @matthewcroughan:defenestrate.it
I have my bpi-r4 operating without state, and it is just running nixos, and it can do managed switch stuff on the 4 1G ports it has
You do have state ffs. Your network configuration is state, go and remove all the network config from your nixos build and see how far you get. It just happens that we bundle the config with the binaries. But you cannot ship a static image on consumer or even enterprise switches. "Oh you want reconfigure something? Better install Nix!"
15:51:45
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI just wasn't sure what state was being referred to15:52:12
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonePoint is, if all you're trying to do, is configure the asic, maybe you don't need linux for that and you can just do it with a small arduino program.15:52:55
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonethat's the kind of managed switch I would prefer to buy15:53:22
@magic_rb:matrix.redalder.orgmagic_rbJfc no arduino please god no15:53:27
@magic_rb:matrix.redalder.orgmagic_rbIts the worst fucking thing on the planet15:53:39
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneokay, I don't know how to convey it to you other than by saying the word arduino, because I'm not getting a good response when I say micropython or embassy15:53:52
@emilazy:matrix.orgemilyhow much arduino development have you done15:54:01
@magic_rb:matrix.redalder.orgmagic_rbBecause its the same shit15:54:02
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneenough, why?15:54:09
@emilazy:matrix.orgemilythis is just pointless asceticism if you look at the actual resource consumption of the thing running linux15:54:20
@magic_rb:matrix.redalder.orgmagic_rbId rather get fisted by 20 linux kernels than spend 5 minutes dealing with the bullshit embedded people can cook up15:54:25
@emilazy:matrix.orgemilyand what you would need to recreate on bare metal15:54:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneactually no, I have actually got a better idea, they could just make the entire managed switch configured/programmed with u-boot alone15:54:33
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneno linux15:54:35

Show newer messages


Back to Room ListRoom Version: 6