shell.nix: wrap nixos-rebuild with nix-output-monitor #106

Closed
pederbs wants to merge 2 commits from nom into main
Owner

#nix-output-monitor-and-chill

nom is only used if the output is a tty, and I provide a escape hatch in the form of NIX_NO_NOM=1.
This solution sidesteps issues like sudo nixos-rebuild ... |& nom capturing the sudo password prompt.

#nix-output-monitor-and-chill nom is only used if the output is a tty, and I provide a escape hatch in the form of NIX_NO_NOM=1. This solution sidesteps issues like `sudo nixos-rebuild ... |& nom` capturing the sudo password prompt.
pederbs added 1 commit 2025-05-31 19:38:31 +02:00
shell.nix: wrap nixos-rebuild with nix-output-monitor
Some checks failed
Eval nix flake / evals (push) Has been cancelled
Eval nix flake / evals (pull_request) Has been cancelled
c16378469e
\#nix-output-monitor-and-chill

nom is only used if the output is a tty, and I provide a escape hatch in the form of NIX_NO_NOM=1.
This solution sidesteps issues like `sudo nixos-rebuild ... |& nom` capturing the sudo password prompt.
pederbs force-pushed nom from c16378469e to bce1f0e912 2025-05-31 19:45:12 +02:00 Compare
pederbs added 1 commit 2025-05-31 20:44:00 +02:00
justfile: fix nom use condition.
Some checks failed
Eval nix flake / evals (push) Has been cancelled
Eval nix flake / evals (pull_request) Has been cancelled
31f2f445f3
turns out just will plumb the stdout of its running processes, so we detect ttys on stderr instead
oysteikt approved these changes 2025-06-07 23:02:25 +02:00
pederbs closed this pull request 2025-06-08 13:15:09 +02:00
Author
Owner

not needed in this repo, it'll be more of an obstruction than benefit

not needed in this repo, it'll be more of an obstruction than benefit
Some checks failed
Eval nix flake / evals (push) Has been cancelled
Eval nix flake / evals (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No description provided.