Here's a `nixos-rebuild` wrapper script that formats and colorizes traces

Here it is https://codeberg.org/gmg/concoctions/src/branch/main/sh-scripts/nixos-rebuild

(if you try it and find any bugs, please let me know)

edit: I didn't realize the screenshot shows just instead of nixos-rebuild... that runs a script ("recipe") that calls nixos-rebuild so the output shown is from the (wrapped) nixos-rebuild

6 points · 2 comments · view on lemmy.world

2 Comments

stupiv@lemmy.ml · 1 pts · 195d (1 reply)

May I ask what your full nixos-rebuild command is?

talkingpumpkin@lemmy.world · 2 pts · 195d

That just build t8plus becomes nixos-rebuild build --option eval-cache false --flake './nixcfg#t8plus' (the flake is at ./nixcfg/flake.nix).