kbin
Decentralized content aggregator and microblogging platform running on the Fediverse network.
Demo
Implement missing demoOptions
programs.kbin
-
Whether to enable kbin.
- Type:
boolean
- Default:
false
programs.kbin.enable
services.kbin
-
Domain to serve on.
- Type:
string
- Default:
"localhost"
-
Whether to enable Kbin.
- Type:
boolean
- Default:
false
-
Primary group of the user running Kbin.
- Type:
string
- Default:
"kbin"
-
The kbin package to use.
- Type:
package
- Default:
pkgs.kbin
-
Paths to files containing secrets, keyed by the respective environment variable.
- Type:
attribute set of (null or absolute path)
- Default:
{ }
-
Path to a file that contains the secret
APP_SECRET
.- Type:
null or absolute path
- Default:
null
-
Path to a file that contains the secret
MERCURE_JWT_SECRET
.- Type:
null or absolute path
- Default:
null
-
Path to a file that contains the secret
OAUTH_ENCRYPTION_KEY
.- Type:
null or absolute path
- Default:
null
-
Path to a file that contains the secret
OAUTH_PASSPHRASE
.- Type:
null or absolute path
- Default:
null
-
Path to a file that contains the secret
POSTGRES_PASSWORD
.- Type:
null or absolute path
- Default:
null
-
Path to a file that contains the secret
RABBITMQ_PASSWORD
.- Type:
null or absolute path
- Default:
null
-
Path to a file that contains the secret
REDIS_PASSWORD
.- Type:
null or absolute path
- Default:
null
-
Enviroment variables used to configure Kbin.
- Type:
attribute set of string
-
User to run Kbin as.
- Type:
string
- Default:
"kbin"
services.kbin.domain
services.kbin.enable
services.kbin.group
services.kbin.package
services.kbin.secrets
services.kbin.secrets.APP_SECRET
services.kbin.secrets.MERCURE_JWT_SECRET
services.kbin.secrets.OAUTH_ENCRYPTION_KEY
services.kbin.secrets.OAUTH_PASSPHRASE
services.kbin.secrets.POSTGRES_PASSWORD
services.kbin.secrets.RABBITMQ_PASSWORD
services.kbin.secrets.REDIS_PASSWORD
services.kbin.settings
services.kbin.user
Examples
basic
{ ... }: { networking.firewall.allowedTCPPorts = [ 80 ]; services = { kbin = { enable = true; # settings.APP_DEBUG = "1"; }; postgresql = { enable = true; authentication = "host all all 127.0.0.1/32 trust"; ensureUsers = [ { name = "kbin"; ensureDBOwnership = true; } ]; ensureDatabases = [ "kbin" ]; enableTCPIP = true; }; }; }
This project is funded by NLnet through these subgrants: