Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

NixCloud - Application Server

Purpose

NixCloud is an application server hosting user-facing cloud services. General purpose application server for replacing cloud services with self-hosted alternatives.

Entry Point

Architecture / Services / Scope

Application Workloads

WorkloadServiceFileDomain
Home Assistanthome-assistanthosts/server/nixcloud/home-assistant/hassio.racci.dev
Homeboxhomeboxhosts/server/nixcloud/homebox.nixhomebox.racci.dev
Immichimmichhosts/server/nixcloud/immich.nixphotos.racci.dev
Musicnavidromehosts/server/nixcloud/music.nixmusic.racci.dev
Nextcloudnextcloudhosts/server/nixcloud/nextcloud.nixnc.racci.dev
Searchsearxhosts/server/nixcloud/search.nixsearch.racci.dev

MQTT Broker

  • mosquitto listens on TCP 1883 and is exposed as mqtt.racci.dev through the IO Coordinator’s L4 proxy.
  • System metrics are published under $SYS/#; anonymous access is disabled.
  • Accounts and ACLs are declared in hosts/server/nixcloud/home-assistant/connectivity.nix. The uptimekuma account is read-only on $SYS/broker/uptime, zigbee2mqtt/bridge/state, and homeassistant/status.

Operational Notes / Assumptions

  • All apps are exposed via the cluster’s reverse proxy on the IO Coordinator.
  • Applications using OAuth2/OIDC/SSO use the Identity Coordinator for authentication and authorisation.
  • Database services for these apps are provided by the cluster Database Coordinator via server.database.postgres.*.
  • Media storage for Nextcloud and Immich uses SeaweedFS mounts on the Storage Coordinator.
  • Nextcloud has no declarative admin account: nixpkgs removed the adminuser/adminpassFile options. Create the admin after installation with nextcloud-occ user:add <username> followed by nextcloud-occ group:adduser admin <username>.

References