diff --git a/users/willifan/common/shell/starship.nix b/users/willifan/common/shell/starship.nix index facb35d..b3e27c8 100644 --- a/users/willifan/common/shell/starship.nix +++ b/users/willifan/common/shell/starship.nix @@ -1,4 +1,23 @@ -{ ... }: +{ lib, ... }: { + home-manager.users.willifan.programs.starship = { + enable = true; + enableNushellIntegration = true; + settings = { + add_newline = false; + format = lib.concatStrings [ + "$line_break" + "$package" + "$line_break" + "$character" + ]; + scan_timeout = 10; + character = { + success_symbol = "➜"; + error_symbol = "➜"; + }; + }; + }; + }