Working on terminal / zsh

This commit is contained in:
2026-03-08 10:37:10 +01:00
parent ebfe333222
commit c8ef10b1a6
2 changed files with 369 additions and 328 deletions
+348 -327
View File
File diff suppressed because it is too large Load Diff
@@ -4,11 +4,31 @@ let
in
{
home-manager.users.${user.username} = {
# Kitty Terminal
programs.kitty = {
enable = true;
};
# Use the kitty.conf from your assets
# Kitty config (main + theme)
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";
};
};
*/
# Ensure Kitty's shell starts Starship
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
(builtins.readFile "${flakeRoot}/assets/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\""
];
};
}