eyJhb changed the topic of #nixos-on-your-router to: NixOS on your Router || https://logs.nix.samueldr.com/nixos-on-your-router
mdlayher has quit [Ping timeout: 246 seconds]
mdlayher has joined #nixos-on-your-router
<andi-> In case any of you run a *larger* networkd installation somewhere and are spuriously not having all the network interfaces created/brought up/configured: https://github.com/NixOS/nixpkgs/pull/89064
<{^_^}> #89064 (by andir, 58 seconds ago, open): nixos/modules/system/boot/networkd: enable socket activation
<gchristensen> interesting
<gchristensen> I want to give networkd a try on my router
<gchristensen> oh 100
<gchristensen> hot stuff
<andi-> It all started with Lennart asking: O(n) is this good enough? So I tried how high we can go.. It capped out at 67ish and more reliably at around 100... I was going for 200 ¯\_(ツ)_/¯
<gchristensen> :D
<gchristensen> I think it is super cool y'all're working closely with him
<andi-> I wouldn't have done that without NixoS VM tests.. I now have a single field where I can configure the (insane) amounts of networks interfaces I desire..
<gchristensen> :D
<andi-> Couldn't do this with vagrant/packer/uml/…
<gchristensen> absolutely not
<gchristensen> can I see your test?
<andi-> sure, it is in nixpkgs ;)
<gchristensen> not in your PR though
<andi-> it is this test
<gchristensen> ah
<gchristensen> isp = { lib, pkgs, ... }: { +1
<andi-> and than just a lib.genList …
<gchristensen> nice
<gchristensen> wait so did you genList on the clients or nics or?
<andi-> let me pastebin the actual file that isn't as clean
<gchristensen> cool
<andi-> fail.
<gchristensen> E for Effort
<andi-> look at the `test.nix`
<gchristensen> thats a lot of vlans
<gchristensen> nicely done :)
<andi-> yeah, to bad the issue isn't solved entirely yet..
<andi-> now networkd is running into timeouts
<andi-> next patch..
<gchristensen> ouch
<hexa-> this is definately not nixos on *my* router :D
<hexa-> s/definately/definetely/ *sigh*
<andi-> On a more positive note. This happened today: https://github.com/systemd/systemd/commit/bb2294e4545ef2685d52ef27e7bc8a5a265d530b \o/
<gchristensen> w00t
<andi-> Most of the time on that was spent around the man page entry.
<gchristensen> too real
<andi-> Maybe in a year or two this thing is actually useable
<andi-> Afterwards we can fix systemd-resolved
<gchristensen> so, maybe don't switch to networkd if I'm not ready for some battles?
<andi-> *you* are ready
<gchristensen> oh hehe
<hexa-> I wonder if this could be another approach to fix the ManageForeignRoutes disaster
<gchristensen> well ..... probably should write this talk instead
<andi-> I am actually pretty happy about it. The whole DHCPv{4,6}/PD/RA story feels much nicer.
<hexa-> gchristensen: the scripted networking in nixos is much worse than networkd at this point
<gchristensen> nice
<andi-> Yeah, I dodged the scripted networking from the beginning.. Never really understood how it ever could work for a real setup.
<gchristensen> the truth is it doesn't lol
<andi-> Maybe most people just need DHCP 🤔
<gchristensen> yes
<andi-> weird people.
<gchristensen> I frequently have to reboot my router to fix vlans that didn't come up right
<gchristensen> (only after a reboot)
<hexa-> ouch
<andi-> Ok, switch to networkd. You can call me at 4am if that randomly breaks on your setup :)
<gchristensen> yay :)
<gchristensen> (I have bunch of vlans. one or two vlans, it was no trouble.)
<gchristensen> andi-: I'd better write my talk first though :) emily would kill me if I stayed up late because I was procrastinating in ways she knew about
<andi-> Yeah, you probably want to wait until the next systemd release is cut and lands in NixOS (or pick the above patch) as otherwise the v6 prefixes on the interfaces will be distributed randomly across restarts.
<andi-> gchristensen: go go, still ~11h left or os?
<gchristensen> yeah not great
<gchristensen> uhh 13 I think
<andi-> even better
<gchristensen> haha
<gchristensen> and I should, like, practice it at least once.
<andi-> 8h to sleep, 5h for the talk
<gchristensen> my last talk I practiced one half of one times, in the cab on my way to NYLUG
<gchristensen> it went okay, but I had the audience to talk to :)
teto has quit [Ping timeout: 260 seconds]
teto has joined #nixos-on-your-router
adisbladis has joined #nixos-on-your-router
<adisbladis> Is anyone aware of a web ui for managing a nixos router?
<adisbladis> I have an ARM board with a 4g modem attached that a non-techy person has to be able to change some settings on
locallycompact has quit [Ping timeout: 260 seconds]
locallycompact has joined #nixos-on-your-router
teto has quit [Ping timeout: 260 seconds]
teto has joined #nixos-on-your-router
teto has quit [Ping timeout: 260 seconds]
teto has joined #nixos-on-your-router
<sphalerite> adisbladis: my guess would be that you're still best served with openwrt currently.
<adisbladis> sphalerite: Alright, I'm sort of bummed but it's OK I guess
<sphalerite> hexa-: defInItely ;)
<hexa-> sphalerite: very definitely :D
<hexa-> thanks
teto has quit [Ping timeout: 272 seconds]
teto has joined #nixos-on-your-router
teto has quit [Ping timeout: 246 seconds]
teto has joined #nixos-on-your-router