posted in Selfhosted

Figuring out what to do with an old Mac Mini (Base M1) Linux?

Hey everyone! I’m pretty glad to have come across Lemmy haha. I was going to start looking into doing some self hosting stuff on Reddit and a lot of people seemed a bit… Opinionated. That said, I have an old base M1 Mac Mini that has been sitting in my closet for a while, and while I do have a simple proxmox setup in my own house for a couple small things, I was considering a fun side project to try to host something for my mom in her house. My main question is has anyone actually tried doing any self hosting stuff on a 8GB model of a Mac Mini with M1? It seems that Asahi linux supports it pretty well, but its all ARM. I have basically no experience with ARM on linux, especially not on a box made by apple. I have very light experience with a Pi 5 but outside of that not much.

enPage

Replying to @⁨Luemen@lemmy.world⁩

When I had Asahi, I just used it as a daily driver laptop. It worked perfectly fine for all of the stuff I wanted to do on my M1.

For a server, it will probably work fine as well. You have to ensure that say, the apps/docker containers you use support ARM, but ARM is fairly popular and well supported nowadays.

I did have one issue with podman, where apparently the memory is organized differently on the M1, which causes some docker containers, even if they are built for ARM, to be incompatible. I had to use podman machine, which is podman’s built in virtual machine that lets you run containers in their instead. It is designed for Mac OS, which is kind of ironic since the whole point of using Linux was that I wouldn’t have to run a virtual machine just to run podman/docker containers.

Replying to @⁨Luemen@lemmy.world⁩

for that, Immich is pretty much made for it. the phone app can back up automatically and it’s the closest thing to Google/iCloud Photos you can host. it has arm64 images and the docs say 6GB RAM minimum, 8 recommended, so a base M1 is fine for one person. one Asahi gotcha: it uses 16K memory pages, and a few arm containers built with older jemalloc crash with “Unsupported system page size” (some Immich postgres tags did this on the Pi 5). the current default compose file is fine, just don’t copy an old pinned database image from a random guide.

Replying to @⁨Luemen@lemmy.world⁩

ARM is a non-issue these days for the usual self-hosted stuff; most popular images ship arm64 builds (check the tags on Docker Hub before you commit to one). For a box at your mum’s, I’d honestly consider staying on macOS + Docker or OrbStack rather than Asahi, purely because remote fixes are easier when the OS is the boring one. Add Tailscale so you can reach it without opening ports. 8 GB is plenty for things like a photo backup, an ad blocker, or a small search engine like SearXNG; it’s tight only if you try to run local LLMs on it.