services.pangolin.settings
NixOS option
Additional attributes to be merged with the configuration options and written to Pangolin’s config.yml file.
type: YAML 1.1 valueDefault
{
app.dashboard_url = "https://${config.services.pangolin.dashboardDomain}";
domains.domain1 = {
base_domain = cfg.baseDomain;
prefer_wildcard_cert = false;
};
server = {
external_port = 3000;
internal_port = 3001;
next_port = 3002;
integration_port = 3003;
# needs to be set, otherwise this fails silently
# see https://github.com/fosrl/newt/issues/37
internal_hostname = "localhost";
};
gerbil.base_endpoint = config.services.pangolin.dashboardDomain;
flags = {
disable_signup_without_invite = true;
enable_integration_api = false;
};
}
Example
declared in: nixos/modules/services/networking/pangolin.nixView source on NixOS/nixpkgs →{
app = {
save_logs = true;
};
domains = {
domain1 = {
prefer_wildcard_cert = true;
};
};
server = {
external_port = 3007;
internal_port = 3008;
};
}