how my setup works

Mostly so I remember, partly so you can steal ideas.

I have two machines: the desktop I work on, and a server that sits at home and runs everything that should stay on.

The machines

Part Desktop Server
CPU Ryzen 7 9700X (16 threads) Core i7-12700K (20 threads)
GPU GeForce RTX 3070 Ti Arc A380
Memory 32 GB 32 GB
Storage one 2 TB SSD 2 TB NVMe, 22 TB hard drive for media
System CachyOS Fedora Server

I write, build and play on the desktop. The server hosts what needs to stay up.

Public sites come in through Cloudflare. Everything else comes in over Tailscale.

How I got here

The desktop went Ubuntu, then Debian, then Bazzite, then CachyOS, and CachyOS is the one I kept. It’s Arch with less upkeep. It has the AUR, its packages and kernel are built for speed, and games work.

The server started on Ubuntu Server 24 and is now on Fedora Server.

I really hate Ubuntu and its stability and random issues.

Why I self-host

  • I like owning my stuff. My media, my code and my data, on hardware I own.
  • It’s fun, and I learn from it. Most of what I know about networks I learned by breaking this one.
  • It’s cheaper. Subscriptions add up. A server pays for itself.
  • I don’t trust big platforms to keep things around or keep them good.

The desktop

What boots

Limine is the boot loader. Plasma’s login screen comes up, and then KDE Plasma on Wayland.

Where things live

One Btrfs filesystem, split into subvolumes for the system, home, logs and caches. Snapper takes snapshots, and they show up in the boot menu, so I can undo a bad update by booting into the one before it.

What I use

For What
Terminal Ghostty
Shell zsh, with CachyOS’s config and Powerlevel10k
Editors Neovim and VS Code
Packages pacman, and paru for the AUR
Every repo a justfile, so the commands are always just something
Languages Rust first, then Go, Swift and TypeScript

Games

NVIDIA’s driver, Proton from CachyOS, gamescope and MangoHud. I also need gamescope for Playmatter, because its off-screen checks run inside it.

Keys

Mostly Plasma’s defaults. I haven’t customized them.

Keys Does
Meta + W Overview of everything
Meta + Left/Right Tile a window to a side
Meta + Page Up Maximize
Ctrl + F1… Switch desktop

The server

Everything on it runs in Docker. Each service is a stack, which is a compose file, and I manage them in Portainer.

About thirty containers.

Getting in from outside

Anything public takes the same path:

  1. A visitorasks for one of my sites
  2. Cloudflareanswers DNS, proxies, does TLS
  3. Nginx Proxy Managerpicks the right service
  4. The containerserves it

Anything private isn’t exposed to the internet. I reach it over Tailscale, which puts my devices on the same network as the server wherever they are.

The annoying part

My ISP blocks inbound connections on ports 80 and 443, which are the two a web server needs.

  • Cloudflare is told, with an origin rule, to connect on a different port, one that is allowed in. Visitors use the normal address.
  • Certificates can’t be issued the usual way, because that check arrives on port 80. So the proxy proves ownership through DNS instead, and gets one wildcard certificate per domain.

What runs on it

Group What For
Media Jellyfin, Plex films, shows and music
Tunarr turning the library into TV channels
Komga comics and books
Code Gitea and a runner my own git, with builds
A build box compiling Playmatter
Games Crafty, Infrared Minecraft servers, routed by hostname
Local AI Ollama, Open WebUI running models at home
Upkeep Uptime Kuma, Gotify watching everything and telling me

The *arr stack

Sonarr for shows, Radarr for films, Lidarr for music, LazyLibrarian for books, Prowlarr feeding all of them indexers, SABnzbd doing the downloading, and Seerr on top so people can ask for things.

Setting this up was a repetitive pain in the ass. Every one of these apps wants the same things typed into it again: the same folders, the same download client, the same API keys copied out of one tab and pasted into another, and then its own quality profiles on top.

It breaks again later, when an indexer dies or an update moves a setting, and you’re back clicking through settings pages that all look almost the same. It takes a lot more than an evening.

If you want to do this

  1. Start with one service you will actually use. Jellyfin is a good first one.
  2. Put a reverse proxy in front from day one. Adding it later means changing every address you’ve already given out.
  3. Use Tailscale, or something like it, for anything only you need.
  4. Keep your compose files somewhere you can find them again. You rebuild from them.
  5. Check whether your ISP blocks ports before you plan around them.
  6. Don’t use Ubuntu.