Shrinking NixOS RAM footprint and resource requirements to the bare minimum
lowendspirit.com
lowendspirit.com
It would be very useful if I could just boot a kernel and get an instant report of what kernel config, firmware and modules are actually used/needed. You can kind of do this but
It's not going to be powerful (128MB of RAM 1GB of storage) but if you run Alpine or NetBSD you can use it as a WireGuard peer, to host a small Website or to run some cron jobs.
Some of my favourites are:
[Zeroclaw](https://github.com/zeroclaw-labs/zeroclaw) - 3 MB RSS when idle!
[Beszel](https://github.com/henrygd/beszel) - 10 MB agent + 10 MB server
[Gatus](https://github.com/TwiN/gatus) - 10 MB
[Fusion RSS](https://github.com/0x2E/fusion) - 22 MB
[Adguard Home](https://github.com/AdguardTeam/AdGuardHome/) - 40 MB
[Shiori](https://github.com/go-shiori/shiori) - 10 MB
You won't be able to run all of this on a 128 MB ram VPS but I bet you can run 1-2 services easily!
One thing I was wondering is, whether switching some leaf packages to Musk would help. Rebuilding the whole system for Musl seems broken most of the time, but many leaf packages can still be cross-compiled. So e.g. I'd get a Caddy or OpenBao binaries, etc.
I'm a little surprised that matters; shouldn't Linux be lazy loading drivers only when it sees hardware?