Fixing config + theme kitty
This commit is contained in:
+12
-7
@@ -1110,15 +1110,19 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
# Kitty Terminal
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Kitty config (main + theme)
|
# Copy the actual kitty.conf (not a symlink)
|
||||||
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
|
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
|
||||||
|
(builtins.readFile "${flakeRoot}/assets/common/conf/kitty/kitty.conf")
|
||||||
|
"include ${kittyConfigDir}/themes/Catppuccin-Mocha.conf"
|
||||||
|
];
|
||||||
|
|
||||||
};
|
# Copy the theme file
|
||||||
|
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/common/conf/kitty/themes/Catppuccin-Mocha.conf";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@@ -1130,10 +1134,10 @@ This file sets up starship prompt
|
|||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
configFile = "${flakeRoot}/assets/common/conf/starship.toml";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use the starship.toml from your assets <-- this should be the only place doing it!
|
|
||||||
xdg.configFile."starship.toml".source = "${flakeRoot}/assets/common/conf/starship.toml";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@@ -1150,6 +1154,7 @@ in
|
|||||||
# Install zsh-syntax-highlighting
|
# Install zsh-syntax-highlighting
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
|
starship
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
/nix/store/hqg1qv89c89x5z6hyafbbyc0ncy0jbqs-home-manager-files/.config/kitty/kitty.conf
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
/nix/store/hqg1qv89c89x5z6hyafbbyc0ncy0jbqs-home-manager-files/.config/kitty/themes/Catppuccin-Mocha.conf
|
|
||||||
Reference in New Issue
Block a user