Monorepo Sync: From Private Repo to Public Subtrees

Overview I love the convenience of a monorepo for my homelab. Having my NixOS configs, blog, and custom apps in one place makes cross-project changes trivial. However, it creates a challenge: how do I share specific projects on GitHub without exposing my entire private infrastructure? The solution I’ve landed on uses git subtree to split off specific directories into their own public repositories. In this post, I’ll show how I moved from manual syncing with a Justfile to fully automated “Sync on Push” using OneDev . ...

July 5, 2026 · 4 min · Dominik Pall

One Repo to Rule Them All: Why I Chose a Monorepo

The Debate Nobody Wins Ask ten engineers whether to use a monorepo and you will get eleven opinions. The polyrepo crowd will tell you that separate repos mean clear ownership, independent versioning, and small focused histories. The monorepo crowd will point at Google, Meta, and Microsoft and say: if it scales there, it scales anywhere. Both camps are right about something. And both camps tend to argue past the thing that actually matters: what is the right fit for your situation? ...

June 28, 2026 · 6 min · Dominik Pall