services.gitlab.extraGitlabRb
NixOS option
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.
type: stringDefault
""
Example
declared in: nixos/modules/services/misc/gitlab.nixView source on NixOS/nixpkgs →''
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
''