From 6b6289c19131a2e6a1e72a8b6f09e9f6d464b816 Mon Sep 17 00:00:00 2001 From: atlas Date: Mon, 1 Jun 2026 23:04:21 +0200 Subject: [PATCH] fix(gateway): point option descriptions at hivectl instead of raw htpasswd --- nix/modules/hive-gateway.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nix/modules/hive-gateway.nix b/nix/modules/hive-gateway.nix index a70daee2..9925aeb9 100644 --- a/nix/modules/hive-gateway.nix +++ b/nix/modules/hive-gateway.nix @@ -207,9 +207,8 @@ in `auth_basic` module handles credential validation — no extra service or host-side daemon required. Off by default. - Create the file with: `htpasswd -Bc /path/to/gateway.htpasswd ` - (BCrypt recommended; `-c` creates a new file). Subsequent users: - `htpasswd -B /path/to/gateway.htpasswd `. + Manage users with `hivectl gateway create-user`, `delete-user`, + and `list-users` — see `hivectl gateway --help` for usage. ''; htpasswdFile = lib.mkOption { @@ -223,8 +222,9 @@ in container at `/run/gateway-auth/`. The file must be readable by the `nginx` user inside the container (mode 0644 recommended). - Create with: `htpasswd -Bc `. BCrypt (`-B`) is - strongly preferred over the legacy MD5/SHA1 algorithms. + Manage with: `hivectl gateway create-user --file `. + BCrypt (cost 12) is used by default; no external `htpasswd` binary + required. Required when `enable = true`. '';