!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

916 Members
Declaratively manage your switching, routing, wireless, tunneling and more.266 Servers

Load older messages


SenderMessageTime
21 May 2025
@emilazy:matrix.orgemilyyou're already paying ≥ $100 for the switch and the SoC can run Linux, it's literally free15:42:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneYou need state? I don't get why15:43:38
@emilazy:matrix.orgemilyto… save the configuration?15:44:15
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI 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 has15:44:18
@emilazy:matrix.orgemilyso that you don't have to set it every time it powers on?15:44:21
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneoh right, yeah so that's not hard to do in micropython, or embassy, etc15:44:52
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonewhatever you choose, you're always gonna have some way of persisting config values15:45:00
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI just argue that linux/ext4 is like, overkill for what a managed switch has to do15:45:24
@emilazy:matrix.orgemilyit would cost more to develop for no gain15:45:30
@emilazy:matrix.orgemilythere is no reason15:45:39
@emilazy:matrix.orgemilywhy MicroPython? they could write it in assembly15:45:43
@emilazy:matrix.orgemilythen the executable code would be even smaller or whatever, and nobody would care15:45:50
@emilazy:matrix.orgemilyidk. you pick the weirdest things to get hung up about15:46:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIt's not really about being that minimal, it's just about using the right tool for the job15:46:07
@emilazy:matrix.orgemilyoperating system services are a good thing. like running water and electricity. infrastructure is useful15:46:15
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonelinux is pretty hard to maintain compared to some micro code15:46:19
@emilazy:matrix.orgemilyI promise you they are making plenty use of Linux functionality15:46:26
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone* linux is pretty hard to maintain compared to some microcontroller code15:46:31
@emilazy:matrix.orgemilysurely more complex and beefier hardware than the machines Linux was originally written for I'd imagine15:46:43
@emilazy:matrix.orgemilyyep, 500 MHz MIPS15:47:56
@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

Show newer messages


Back to Room ListRoom Version: 6