aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--config/starship.nix55
-rw-r--r--home.nix2
3 files changed, 59 insertions, 1 deletions
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"
];