diff --git a/modules/cli/shell/starship.nix b/modules/cli/shell/starship.nix index ece00f0..4249992 100644 --- a/modules/cli/shell/starship.nix +++ b/modules/cli/shell/starship.nix @@ -17,8 +17,7 @@ in enable = true; settings = lib.recursiveUpdate (with builtins; fromTOML (readFile ./starship-preset.toml)) { add_newline = false; - command_timeout = 2000; - nix_shell.disabled = true; + scan_timeout = 1500; format = let dedupDollar = diff --git a/modules/coding/misc.nix b/modules/coding/misc.nix index 9a4c972..93d4fc8 100644 --- a/modules/coding/misc.nix +++ b/modules/coding/misc.nix @@ -19,6 +19,22 @@ in gnumake github-cli # gh ]; + programs.starship.settings = { + nix_shell.disabled = true; + # direnv = + # let + # esc = builtins.fromJSON ''"\u001b"''; + # in + # { + # disabled = false; + # format = "$loaded$allowed "; + # loaded_msg = "${esc}[1;92m ${esc}[0m"; # green + # unloaded_msg = ""; + # allowed_msg = ""; + # not_allowed_msg = "${esc}[1;93m ${esc}[0m"; # yellow + # denied_msg = "${esc}[1;91m ${esc}[0m"; # red + # }; + }; programs.direnv = { enable = true; nix-direnv.enable = true;