Working on Kitty conf and theming

This commit is contained in:
2026-03-08 10:36:26 +01:00
parent 9afb5c4617
commit ebfe333222
+22 -1
View File
@@ -1110,14 +1110,35 @@ 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\""
];
};
}
#+END_SRC
** =generated/system/applications/terminal_shell/starship.nix=