Refactor isso configuration to streamline server settings by removing unnecessary nesting

This commit is contained in:
Danilo Reyes
2025-12-25 22:07:13 -06:00
parent cfb0ad1a31
commit 467708a7e6

View File

@@ -18,10 +18,7 @@ in
inherit (cfg) enable; inherit (cfg) enable;
settings = { settings = {
guard.require-author = true; guard.require-author = true;
server = { server.listen = "http://${cfg.ip}:${toString cfg.port}/";
listen = "http://${cfg.ip}:${toString cfg.port}/";
public-endpoint = cfg.url;
};
admin = { admin = {
enabled = true; enabled = true;
password = "$ISSO_ADMIN_PASSWORD"; password = "$ISSO_ADMIN_PASSWORD";