Working on terminal / zsh
This commit is contained in:
+348
-327
File diff suppressed because it is too large
Load Diff
@@ -4,11 +4,31 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
|
# Kitty Terminal
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
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";
|
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\""
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user