modularizing of vps ips

This commit is contained in:
2025-09-16 14:56:42 -06:00
parent cfca87a703
commit 17b2d98b6c
8 changed files with 29 additions and 16 deletions

View File

@@ -16,7 +16,10 @@ in
log_level = "warn";
data_directory = "/var/lib/readeck";
};
server.port = cfg.port;
server = {
port = cfg.port;
host = cfg.ip;
};
};
};
nginx.virtualHosts."${cfg.host}" = lib.mkIf cfg.enableProxy (setup.proxyReverse cfg);