services.akkoma.initDb.enable

NixOS option

Whether to automatically initialise the database on startup. This will create a database role and database if they do not already exist, and (re)set the role password and the ownership of the database. This setting can be used safely even if the database already exists and contains data. The database settings are configured through config.services.akkoma.config.":pleroma"."Pleroma.Repo". If disabled, the database has to be set up manually: CREATE ROLE akkoma LOGIN; CREATE DATABASE akkoma OWNER akkoma TEMPLATE template0 ENCODING 'utf8' LOCALE 'C'; \connect akkoma CREATE EXTENSION IF NOT EXISTS citext; CREATE EXTENSION IF NOT EXISTS pg_trgm; CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

type: boolean
Default
true
declared in: nixos/modules/services/web-apps/akkoma.nixView source on NixOS/nixpkgs →