Compare commits
2 Commits
157df76509
...
ebfe333222
| Author | SHA1 | Date | |
|---|---|---|---|
| ebfe333222 | |||
| 9afb5c4617 |
+329
-375
File diff suppressed because it is too large
Load Diff
+21
-1
@@ -1110,12 +1110,32 @@ 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\""
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
{ config, pkgs, lib, user, flakeRoot, ... }:
|
||||
let
|
||||
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
|
||||
in
|
||||
@@ -6,54 +6,9 @@ in
|
||||
home-manager.users.${user.username} = {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
font_size = 12.0;
|
||||
cursor = "Beam";
|
||||
cursor_blink_interval = -1;
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
};
|
||||
};
|
||||
|
||||
# Catppuccin Mocha theme for Kitty (embedded)
|
||||
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
|
||||
"# Catppuccin Mocha theme"
|
||||
"background #1e1e2e"
|
||||
"foreground #cdd6f4"
|
||||
"selection_background #f5e0dc"
|
||||
"selection_foreground #1e1e2e"
|
||||
"url_color #f5e0dc"
|
||||
"cursor #f5e0dc"
|
||||
"cursor_text_color #1e1e2e"
|
||||
|
||||
"color0 #45475a"
|
||||
"color8 #585b70"
|
||||
|
||||
"color1 #f38ba8"
|
||||
"color9 #f38ba8"
|
||||
|
||||
"color2 #a6e3a1"
|
||||
"color10 #a6e3a1"
|
||||
|
||||
"color3 #f9e2af"
|
||||
"color11 #f9e2af"
|
||||
|
||||
"color4 #89b4fa"
|
||||
"color12 #89b4fa"
|
||||
|
||||
"color5 #f5c2e7"
|
||||
"color13 #f5c2e7"
|
||||
|
||||
"color6 #94e2d5"
|
||||
"color14 #94e2d5"
|
||||
|
||||
"color7 #bac2de"
|
||||
"color15 #bac2de"
|
||||
|
||||
"# Window settings"
|
||||
"background_opacity 0.9"
|
||||
"font_size 12.0"
|
||||
"cursor_shape Beam"
|
||||
];
|
||||
# Use the kitty.conf from your assets
|
||||
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ in
|
||||
theme = "agnoster";
|
||||
plugins = [
|
||||
"git"
|
||||
"zsh-autosuggestions"
|
||||
"docker"
|
||||
"kubectl"
|
||||
"history"
|
||||
|
||||
Reference in New Issue
Block a user