Devenv 2.3: Portless and TUI configuration
NixOS Discourse
Devenv 2.3: Portless and TUI configuration
The new opt-in localhost proxy (using Pingora) gives your processes stable URLs, even when automatic port allocation changes the underlying port: { pkgs, config, ... }: { process.proxy.enable = true; processes.web = { exec = "${pkgs.python3}/bin/python -m http.server $PORT"; ports.http.allocate = 8000; env.PORT = builtins.toString config.processes.web.ports.http.value; }; } Run devenv up and open http://web.<project-name>.localhost. You can override hostna...
0 comments
No comments yet.