Compare commits

...

2 Commits

Author SHA1 Message Date
henrov ebfe333222 Working on Kitty conf and theming 2026-03-08 10:36:26 +01:00
henrov 9afb5c4617 Working on terminal / zsh 2026-03-08 10:31:11 +01:00
4 changed files with 353 additions and 425 deletions
+329 -375
View File
File diff suppressed because it is too large Load Diff
+21 -1
View File
@@ -1110,12 +1110,32 @@ 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\""
];
}; };
} }
@@ -1,4 +1,4 @@
{ config, pkgs, lib, user, ... }: { config, pkgs, lib, user, flakeRoot, ... }:
let let
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty"; kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
in in
@@ -6,54 +6,9 @@ in
home-manager.users.${user.username} = { home-manager.users.${user.username} = {
programs.kitty = { programs.kitty = {
enable = true; 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) # Use the kitty.conf from your assets
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [ xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
"# 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"
];
}; };
} }
@@ -19,7 +19,6 @@ in
theme = "agnoster"; theme = "agnoster";
plugins = [ plugins = [
"git" "git"
"zsh-autosuggestions"
"docker" "docker"
"kubectl" "kubectl"
"history" "history"