mirror of
https://github.com/nix-community/home-manager
synced 2025-02-17 05:35:06 +01:00
nix-your-shell: support nix-output-monitor
This commit is contained in:
parent
f2665c346f
commit
d6593b2b60
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,10 @@ in {
|
||||||
to run the same shell inside the new environment.
|
to run the same shell inside the new environment.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nom = lib.mkEnableOption ''
|
||||||
|
`nix-output-monitor` to provide better visualisation of build progress.
|
||||||
|
'';
|
||||||
|
|
||||||
extraArgs = lib.mkOption {
|
extraArgs = lib.mkOption {
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -32,5 +36,7 @@ in {
|
||||||
ion.shellAliases = mkShellAliases "ion";
|
ion.shellAliases = mkShellAliases "ion";
|
||||||
nushell.shellAliases = mkShellAliases "nushell";
|
nushell.shellAliases = mkShellAliases "nushell";
|
||||||
zsh.shellAliases = mkShellAliases "zsh";
|
zsh.shellAliases = mkShellAliases "zsh";
|
||||||
|
|
||||||
|
nix-your-shell.extraArgs = lib.optional cfg.nom "--nom";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue