services.magnetico.web.credentialsFile
The path to the file holding the credentials to access the web interface. If unset no authentication will be required.
The file must contain user names and password hashes in the format
username:hash, one for each line. Usernames must
start with a lowecase ([a-z]) ASCII character, might contain
non-consecutive underscores except at the end, and consists of
small-case a-z characters and digits 0-9.
The htpasswd tool from the apacheHttpd
package may be used to generate the hash:
htpasswd -bnBC 12 username password
- Type
null or absolute path- Default
null- Declared
- <nixpkgs/nixos/modules/services/torrent/magnetico.nix>