feat(nix): use nix-monitored
Automatically pipes all nix output through `nix-output-monitor` Deprecates the manual pipe in the `rebuild` script
This commit is contained in:
parent
8feb5245ea
commit
ac66ed6530
4 changed files with 32 additions and 3 deletions
|
@ -33,7 +33,7 @@ let
|
|||
if cfg.hostname != null
|
||||
then "${cfg.flakePath}#${cfg.hostname}"
|
||||
else "${cfg.flakePath}"
|
||||
} ''$''\{1:-switch''\} "''$''\{@:2''\}" |& nix run nixpkgs#nix-output-monitor
|
||||
} ''$''\{1:-switch''\} "''$''\{@:2''\}" # |& nix run nixpkgs#nix-output-monitor
|
||||
'';
|
||||
in
|
||||
"${rebuild_script}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue