fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

Zitrone 🍋 :nixos:

I just installed on an old (2013) Fritz!Box router i got scammed into on Kleinanzeigen.

it was really simple

i swear i had an openwrt sticker

i unfortunately can't find it

maybe i gave it away

but why would i if i got it for sticking it on my router?

Do you guys think i could install on that router instead? It only has like ~100MiB of Memory tho.

@qz It was very simple to install it on a rather recent TP-Link router as well. But it depends on the model.
Once it is installed, it is rock solid. Updates are also very smooth.

@qz
Maybe check out Liminix, seems to be just the right use case for it. Have never tried it myself though...

@qz sounds like you owe it to the internet to try! Use the minimal iso and make a minimal flake. Check out my codeberg under the nix/nixos repo you will find a "router" Snag my nftables for LAN / WAN 👍 give it a go i wanna know how it goes 😅 currently my router is deployed on 8th gen intel x86 box. You could save resources if you offloaded your dhcp and dns to pihole and then you'd have a nice ui to manage your dhcp devices on a bare bones router.

@noflcl @qz offtopic but i have a system config in my nixos flake for building an installation iso and the size is 10GB lol

@mischievoustomato @qz probably building with all your local package stores. Bet if you did some housekeeping and tried to build excluding any nix-store caches it would be quite a bit smaller? Just a guess though knowing nothing about your build script

@noflcl @qz yes, given that i have a lot of custom stuff, building a new system from scratch takes time (kernel build, ffmpeg, some other things including qtbase), together with downloading, and since I use disko as well, it becomes messy, so I make sure to preload stuff to the best of my abilities

@mischievoustomato @qz totally the way to go for a image on your local network. 10gig image on lan is nothing and would save toooonz of compile time

@noflcl @qz it'd be great for that too, but i put it on a 32GB usb stick (3.0 thankfully)

Ah, also the purpose of it is to have a portable, usable linux everywhere.

@noflcl just systemd is already 180MiB so this will never work with normal NixOS on this device

@noflcl finding that out made me learn a cool nix command tho:
try `$ nix path-info -rhS $(which systemctl)`

oh damn how is glibc already 30MB?
4,4 MiB is just a chinese character collation

@qz you could reduce localization to US only, consider running init startup instead of systemd?

@qz you cannot eval on such machines but i think if your userspace is small enough, yeah, that fits

@wamserma it seems definitely interesting, but i'll have to write device and flakes support code myself

definitely more work than openwrt for a probably more unstable experience