shell.nix: wrap nixos-rebuild with nix-output-monitor #106
Closed
pederbs
wants to merge 2 commits from
nom into main
pull from: nom
merge into: Drift:main
Drift:main
Drift:shellcheck
Drift:friendship-with-bakke-ended
Drift:bicep-revival
Drift:drumknotty
Drift:fmt
Drift:errorpages
Drift:PVVtheme2026
Drift:dagali-heimdal-openldap-sasl-stack
Drift:skrot-new-thing
Drift:loginpage
Drift:temmie-userweb
Drift:gitea-robots-txt
Drift:kommode-disko
Drift:skrott-cross-compile
Drift:nettsiden-postgresql
Drift:gitea-vaskepersonalet
Drift:create-flake-input-exporter
Drift:gitea-runners-secrets
Drift:add-skrott
Drift:pvvvvv
Drift:gitea-show-license-in-list-view
Drift:backup-databases
Drift:openwebui
Drift:setup-openvpn-tunnel
Drift:gitea-gpg-signing
Drift:sleipner-authorised-keys
Drift:openstack-image-builder
Drift:elysium
Drift:smartd-notifs
Drift:systemd-journald-remote
Drift:skrot
Drift:deploy-doorbell
Drift:misc-gitea-fixes
Drift:spotifyd
Drift:remote
Drift:setup-bikkje-login
Drift:ozai-prod
Drift:add-bluemap
Drift:ozai
Drift:setup-postfix-for-service-machines
Drift:fix-gitea-ci-runner-network-issues
Drift:heimdal-openldap-sasl-testing-on-salsa-on-buskerud
Drift:gitea-metrics
Drift:misc1
Drift:add-simple-saml-theme
Drift:misc-extra-gitea-setup
Drift:setup-kerberos
Drift:setup-home-areas
Drift:shark-kanidm
Drift:prometheusexim
2 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
31f2f445f3 |
justfile: fix nom use condition.
turns out just will plumb the stdout of its running processes, so we detect ttys on stderr instead |
||
|
|
bce1f0e912 |
shell.nix: wrap nixos-rebuild with nix-output-monitor
\#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. |