From d6593b2b60f580c0ce499b96298141b7ecf4fef9 Mon Sep 17 00:00:00 2001 From: nicoo Date: Mon, 19 Aug 2024 09:52:45 +0000 Subject: [PATCH] nix-your-shell: support `nix-output-monitor` --- modules/programs/nix-your-shell.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/programs/nix-your-shell.nix b/modules/programs/nix-your-shell.nix index 144fd84ec..0a69e180c 100644 --- a/modules/programs/nix-your-shell.nix +++ b/modules/programs/nix-your-shell.nix @@ -18,6 +18,10 @@ in { 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 { default = [ ]; description = '' @@ -32,5 +36,7 @@ in { ion.shellAliases = mkShellAliases "ion"; nushell.shellAliases = mkShellAliases "nushell"; zsh.shellAliases = mkShellAliases "zsh"; + + nix-your-shell.extraArgs = lib.optional cfg.nom "--nom"; }; }