aboutsummaryrefslogtreecommitdiffstats
path: root/home/core/starship.nix
diff options
context:
space:
mode:
authorgrm@eyesin.space <grm@eyesin.space>2025-09-02 23:04:24 +0000
committergrm@eyesin.space <grm@eyesin.space>2025-09-02 23:04:24 +0000
commit47ef05ab310bb466300e93d1459370450414fbc4 (patch)
tree808f155d2871f831af743509de982c4c9789357c /home/core/starship.nix
downloadnixos-config-47ef05ab310bb466300e93d1459370450414fbc4.tar.gz
nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.tar.bz2
nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.zip
Diffstat (limited to 'home/core/starship.nix')
-rw-r--r--home/core/starship.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/home/core/starship.nix b/home/core/starship.nix
new file mode 100644
index 0000000..8465f54
--- /dev/null
+++ b/home/core/starship.nix
@@ -0,0 +1,23 @@
+{
+ programs.starship = {
+ enable = true;
+
+ settings = {
+ directory = {
+ truncate_to_repo = false;
+ truncation_symbol = "…";
+ };
+
+ command_timeout = 2000;
+
+ gcloud = {
+ disabled = true;
+ };
+
+ kubernetes = {
+ disabled = false;
+ format = "[$symbol$context(/$namespace)]($style) in ";
+ };
+ };
+ };
+}