mCaptcha
Privacy-friendly Proof of Work (PoW) based CAPTCHA system
Declared in: projects/mCaptcha/default.nix
Demo
Implement missing demoOptions
services.mcaptcha
- 
  
  
Path to a file containing a salt.
- Type:
 absolute path- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Whether to create and use a local database instance
- Type:
 boolean- Default:
 false- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Path to a file containing a database password.
Ignored when {option}
services.mcaptcha.database.createLocally.- Type:
 null or absolute path- Default:
 null- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Whether to enable mCaptcha server.
- Type:
 boolean- Default:
 false- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Group for the user mCaptcha runs under.
- Type:
 string- Default:
 "mcaptcha"- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
The mcaptcha package to use.
- Type:
 package- Default:
 pkgs.mcaptcha- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 - Notes:
 - Missing update script An update script is required for automatically tracking the latest release.
 
 - 
  
  
Whether to create a Redis instance locally.
- Type:
 boolean- Default:
 false- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Ignored when {option}
services.mcaptcha.redis.createLocally.- Type:
 string- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Path to a file containing the Redis server password.
Ignored when {option}
services.mcaptcha.redis.createLocally.";- Type:
 absolute path- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Applies both when {option}
services.mcaptcha.redis.createLocallyis set and not.- Type:
 16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default:
 6379- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Ignored when {option}
services.mcaptcha.redis.createLocally.- Type:
 string- Default:
 "default"- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Path to a file containing a cookie secret.
- Type:
 absolute path- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Extra settings.
- Type:
 open submodule of (TOML value)- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Ignored when {option}
services.mcaptcha.database.createLocally.- Type:
 null or string- Default:
 null- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Applies both when {option}
services.mcaptcha.database.createLocallyis set and not.- Type:
 string- Default:
 "mcaptcha"- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Ignored when {option}
services.mcaptcha.database.createLocally.- Type:
 null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default:
 null- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Ignored when {option}
services.mcaptcha.database.createLocally.- Type:
 null or string- Default:
 null- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Web server host.
- Type:
 string- Default:
 "localhost"- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Web server addresses to bind to.
- Type:
 string- Default:
 "127.0.0.1"- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
Web server port.
- Type:
 16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default:
 7000- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 - 
  
  
User account to run under.
- Type:
 string- Default:
 "mcaptcha"- Declared in:
 - projects/mCaptcha/services/mcaptcha/module.nix
 
 
services.mcaptcha.captcha.saltFile
services.mcaptcha.database.createLocally
services.mcaptcha.database.passwordFile
services.mcaptcha.enable
services.mcaptcha.group
services.mcaptcha.package
services.mcaptcha.redis.createLocally
services.mcaptcha.redis.host
services.mcaptcha.redis.passwordFile
services.mcaptcha.redis.port
services.mcaptcha.redis.user
services.mcaptcha.server.cookieSecretFile
services.mcaptcha.settings
services.mcaptcha.settings.database.hostname
services.mcaptcha.settings.database.name
services.mcaptcha.settings.database.port
services.mcaptcha.settings.database.username
services.mcaptcha.settings.server.domain
services.mcaptcha.settings.server.ip
services.mcaptcha.settings.server.port
services.mcaptcha.user
Examples
This project is funded by NLnet through these subgrants:
Related links: