From b9b4172616ce80d88f453065bb3bdaf2363b8bb3 Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Mon, 20 Apr 2026 12:33:27 +0530 Subject: more configs --- README.md | 3 +++ config/starship.nix | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ home.nix | 2 +- 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 README.md create mode 100644 config/starship.nix diff --git a/README.md b/README.md new file mode 100644 index 0000000..58bc2a3 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# odysseus + +A nix home-manager dots for Arch Linux diff --git a/config/starship.nix b/config/starship.nix new file mode 100644 index 0000000..500a0cd --- /dev/null +++ b/config/starship.nix @@ -0,0 +1,55 @@ +{ ... }: + +{ + xdg.enable = true; + + programs.starship = { + enable = true; + settings = { + add_newline = true; + command_timeout = 100000000; + + line_break = { + disabled = true; + }; + + package = { + disabled = true; + }; + + aws = { + style = "bold #ffb86c"; + }; + + character = { + error_symbol = "[❯](bold #ff5555)"; + success_symbol = "[❯](bold #50fa7b)"; + }; + + cmd_duration = { + style = "bold #f1fa8c"; + }; + + directory = { + style = "bold #50fa7b"; + }; + + git_branch = { + style = "bold #ff79c6"; + }; + + git_status = { + style = "bold #ff5555"; + }; + + hostname = { + style = "bold #bd93f9"; + }; + + username = { + format = "[$user]($style) on "; + style_user = "bold #8be9fd"; + }; + }; + }; +} diff --git a/home.nix b/home.nix index e9388c2..f6e8d0c 100644 --- a/home.nix +++ b/home.nix @@ -4,6 +4,7 @@ imports = [ ./config/git.nix ./config/zsh.nix + ./config/starship.nix ./config/ghostty.nix ]; @@ -21,7 +22,6 @@ "${config.home.homeDirectory}/.local/bin" "${config.home.homeDirectory}/.local/bin/statusbar" "${config.home.homeDirectory}/.local/share/cargo/bin" - "${config.home.homeDirectory}/.nix-profile/bin" "${config.home.homeDirectory}/Applications" "${config.home.homeDirectory}/dox/jai/bin" ]; -- cgit v1.1