Compare commits

..

2 Commits

Author SHA1 Message Date
henrov b9c46ecdd1 New kitty.conf 2026-03-08 10:59:51 +01:00
henrov 5f5a8f1dcf Working on terminal / zsh 2026-03-08 10:58:03 +01:00
5 changed files with 395 additions and 340 deletions
+337 -332
View File
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,45 @@
# Generated by Home Manager.
# See https://sw.kovidgoyal.net/kitty/conf.html
include /nix/store/inyp0v9sjc28ndwjbd4lkh80zw2av0nc-kitty-themes-0-unstable-2026-02-01/share/kitty-themes/themes/Catppuccin-Mocha.conf
# Shell integration is sourced and configured manually
shell_integration no-rc
# 1) Theme first (stable path)
include themes/Catppuccin-Mocha.conf
# 2) Your repo config (may also include theme; harmless if duplicated)
##############################################
# These files are just for reference.
# If you want to change anything, edit the source files in:
# ~/henrovnix/assets/conf
#
# After that, run:
# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
#
# If everything still works, you can use the same command but:
# - keep "switch"
# - and add a reboot:
#
# cd ~/henrovnix && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
#
# NOTE:
# Make sure the lines starting with: cd ~/henrovnix
# are written as ONE single line.
###############################################
# Force transparency (comes from the conf file, as you want)
background_opacity 0.40
dynamic_background_opacity yes
# the rest…
map ctrl+shift+v paste_from_clipboard
map ctrl+shift+c copy_to_clipboard
# 3) Force transparency last (wins)
#background_opacity 0.60
#dynamic_background_opacity yes
@@ -4,13 +4,17 @@ 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";
}; };
} }
@@ -3,9 +3,9 @@
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";
}; };
} }
@@ -7,6 +7,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 = {