Run it your way
Without Cloud Connect
Section titled “Without Cloud Connect”The host can operate independently. You provide a bare HTTPS public origin, a reverse proxy, connectivity and optionally TURN. Keep the gateway’s cleartext listener on loopback. Allow only the local users you intend to admit.
Follow the configuration reference shipped with your host package. Do not publish the gateway’s HTTP port directly to the Internet.
This is advanced configuration for an authorized source checkout, not an additional native host installer target. Import darpan.nixosModules.default from that checkout. The Linux release archive is not a Nix flake; do not use it as a flake reference. For source access questions, email support@darpan.space.
services.darpan = { enable = true; allowedUsers = [ "alice" ]; cloud = { enable = true; url = "https://app.darpan.space"; hostsDomain = "darpan.space"; slug = "h-replace-with-generated-slug"; ssoOnly = true; };};The domains above are for Darpan’s managed service. For another cloud, use its actual lowercase domains. The slug is a placeholder: copy the generated h-… slug from your final pairing receipt, never choose a custom name. Build the host configuration, pair as darpan-connect, then set the final receipt’s slug, rebuild and start the connector. Keep ssoOnly = true for managed hosts. Its state directory is created before pairing and the gateway can read credentials without granting the connector access to gateway sockets.
For a self-managed reverse proxy, omit cloud and set services.darpan.url to your HTTPS origin.
State and backups
Section titled “State and backups”Keep your configuration and user files backed up. Connector state contains credentials: do not share it or place it in an unencrypted public backup. Re-pair if a host credential is exposed.