Hi! 👋 This is how I manage my fleet with NixOS, including a self-hosted homelab running many services with SSO, a reverse proxy, monitoring, and automated off-site encrypted backups (see selfhost-nix and compute's architecture). I hope this helps you!
| Host | Platform | Description |
|---|---|---|
| laptop | NixOS | Personal laptop |
| compute | NixOS | Headless server |
| storage | NixOS | Headless NAS |
| ai | NixOS | Headless AI inference |
| agent-alfredo-vm | NixOS microVM | Private AI assistant |
| work-macos | nix-darwin | Work laptop |
Layout:
hosts/: per-host configurations (hardware, services, users)modules/: personal NixOS/home-manager modules (theselfhost.*framework lives in selfhost-nix)profiles/: shared opinionated configuration that sets standard options (imported by hosts)packages/: custom packages and scriptslib/: custom helpers and buildersapps/: runnable scripts (installation, post-install)
Key dependencies:
diskofor declarative disk partitioningstylixfor consistent themingsops-nixfor secretsnixos-anywherefor remote installationsselfhost-nixpersonal flake that does the heavy-lifting when it comes to self-hosting (reverse Proxy, OIDC, and secrets)dotfiles-privateprivate dependency to store SOPS secrets, personal information, and wallpapers. Typically under~/.dotfiles-private.infrathat sets up my Cloudflare account through IaC.
Not using flake-utils or impermanence intentionally.
A thin wrapper over nh for local and remote machines, called dot:
dot . s # build, preview changes, and apply to the current host
dot . b # build and preview changes without applying
dot . u # update flake inputs
dot . c # show changelog between last two local profiles
dot compute s # deploy to the compute host remotely
dot compute c # show changelog for the compute hostSince January 2026 I have been using AI assistants (cloud and self-hosted). I define the architecture, design and expected outcomes and, where it matters, I review changes line by line. Above all, it lets me build and learn faster, while keeping things simple, idiomatic and composable.
Thanks to everyone sharing dotfiles, maintaining the Arch Wiki and NixOS Wiki, and helping in the NixOS community.




