From 732f3e1e1726324aa5848beb896c0b46ac265990 Mon Sep 17 00:00:00 2001 From: Christian Wesselhoeft Date: Mon, 12 Jan 2026 21:46:54 -0700 Subject: [PATCH] process.nix: Add is_interactive option See: https://f1bonacc1.github.io/process-compose/interactive-processes --- nix/process-compose/settings/process.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nix/process-compose/settings/process.nix b/nix/process-compose/settings/process.nix index d674c03..d96becc 100644 --- a/nix/process-compose/settings/process.nix +++ b/nix/process-compose/settings/process.nix @@ -223,6 +223,16 @@ in - In TUI mode, a local process will be started. ''; }; + is_interactive = mkOption { + type = types.nullOr types.bool; + default = null; + example = true; + description = '' + Interactive processes allow you to interact directly with a running process through the TUI. This is useful for processes that require user input, such as a REPL, a debugger, or a command-line editor. + + When a process is configured as interactive, Process Compose allocates a pseudo-terminal (PTY) for it and allows you to attach to its standard input and output. + ''; + }; is_tty = mkOption { type = types.nullOr types.bool; default = null;