Compare commits

...

2 Commits

Author SHA1 Message Date
henrov caf189ac3b Removed double config starship 2026-03-08 10:44:49 +01:00
henrov 29669c5b27 Working on terminal / zsh 2026-03-08 10:41:54 +01:00
3 changed files with 328 additions and 357 deletions
+327 -338
View File
File diff suppressed because it is too large Load Diff
-8
View File
@@ -1118,15 +1118,7 @@ in
# Kitty config (main + theme) # Kitty config (main + theme)
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf"; xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
# Starship (with your custom config)
programs.starship = {
enable = true;
settings = {
# This ensures Starship uses your config file
configFile = "${flakeRoot}/assets/conf/starship.toml";
};
}; };
};
} }
#+END_SRC #+END_SRC
@@ -10,9 +10,8 @@ in
}; };
# Kitty config (main + theme) # Kitty config (main + theme)
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/common/conf/kitty/kitty.conf"; xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
/*
# Starship (with your custom config) # Starship (with your custom config)
programs.starship = { programs.starship = {
enable = true; enable = true;
@@ -21,14 +20,5 @@ in
configFile = "${flakeRoot}/assets/conf/starship.toml"; configFile = "${flakeRoot}/assets/conf/starship.toml";
}; };
}; };
*/
# Ensure Kitty's shell starts Starship
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
(builtins.readFile "${flakeRoot}/assets/common/conf/kitty/kitty.conf")
""
"# Ensure Starship is loaded in Kitty's shell"
"shell ${pkgs.zsh}/bin/zsh -c \"${pkgs.starship}/bin/starship init zsh | source\""
];
}; };
} }