MyNixOS website logo
option

services.discourse.admin.passwordFile

A path to a file containing the admin user's password.

This should be a string, not a nix path, since nix paths are copied into the world-readable nix store.