Move admin_username to setup

This commit is contained in:
niten 2024-01-25 14:31:47 -08:00
parent a16c97ac3c
commit a436b7e9c2
1 changed files with 4 additions and 2 deletions

View File

@ -97,14 +97,16 @@ in {
nginx.enable = true; nginx.enable = true;
server.package = cfg.server-package; server.package = cfg.server-package;
settings = { settings = {
admin_username = "admin";
email = { email = {
smtp_server = "${cfg.smtp.host}:${toString cfg.smtp.port}"; smtp_server = "${cfg.smtp.host}:${toString cfg.smtp.port}";
smtp_from_address = "noreply@${cfg.hostname}"; smtp_from_address = "noreply@${cfg.hostname}";
tls_type = "starttls"; tls_type = "starttls";
}; };
hostname = cfg.hostname; hostname = cfg.hostname;
setup.site_name = cfg.site-name; setup = {
admin_username = "admin";
site_name = cfg.site-name;
};
}; };
}; };
nginx = { nginx = {