aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/starship.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-02 13:06:05 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-02 13:06:05 -0800
commitcb961051f8307a0bfd6e75acb52a7b7ac003e4d0 (patch)
treec2e3e29716bf10bb5d95d2c11d8692672c379c5f /home/profiles/starship.nix
parentmove remote-unlock as a profile (diff)
downloadinfra-cb961051f8307a0bfd6e75acb52a7b7ac003e4d0.tar.gz
simplify configuration for darwin
Diffstat (limited to 'home/profiles/starship.nix')
-rw-r--r--home/profiles/starship.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/home/profiles/starship.nix b/home/profiles/starship.nix
new file mode 100644
index 0000000..5f0f87a
--- /dev/null
+++ b/home/profiles/starship.nix
@@ -0,0 +1,25 @@
+{ ... }:
+{
+ programs.starship = {
+ enable = true;
+ settings = {
+ add_newline = false;
+ character = {
+ success_symbol = "[›](bold green)";
+ error_symbol = "[›](bold red)";
+ };
+ "$schema" = "https://starship.rs/config-schema.json";
+ hostname = {
+ ssh_only = true;
+ };
+ username = {
+ disabled = true;
+ };
+ kubernetes = {
+ disabled = false;
+ style = "bold blue";
+ };
+ nix_shell.disabled = false;
+ };
+ };
+}