MyNixOS website logo
option

services.gitlab.extraGitlabRb

Extra configuration to be placed in config/extra-gitlab.rb. This can be used to add configuration not otherwise exposed through this module's options.

Declarations
Type
string
Default
""
Example
''
  if Rails.env.production?
    Rails.application.config.action_mailer.delivery_method = :sendmail
    ActionMailer::Base.delivery_method = :sendmail
    ActionMailer::Base.sendmail_settings = {
      location: "/run/wrappers/bin/sendmail",
      arguments: "-i -t"
    }
  end
''