Regenerated

This commit is contained in:
2026-03-31 15:32:28 +00:00
parent 947f822dcc
commit 2ac1edba7c
3 changed files with 388 additions and 340 deletions
+316 -300
View File
File diff suppressed because it is too large Load Diff
+36 -20
View File
@@ -451,50 +451,66 @@ This file sets up Kitty terminal
{ lib, pkgs, config, flakeRoot, ... }: { lib, pkgs, config, flakeRoot, ... }:
let let
#################################
# Determine default username
#################################
username = config.defaultUser or "henrov"; username = config.defaultUser or "henrov";
moduleName = "kitty";
################################# #################################
# Paths to assets # Optional extra config snippet
################################# #################################
assetPath = "${flakeRoot}/generated/.config/${moduleName}"; extraConfigFile = "${flakeRoot}/generated/.config/kitty/extra.conf";
assetFiles = builtins.attrNames (builtins.readDir assetPath);
extraConfig =
if builtins.pathExists extraConfigFile
then builtins.readFile extraConfigFile
else "";
in in
{ {
################################# #################################
# System-wide packages # System-wide install
################################# #################################
environment.systemPackages = [ environment.systemPackages = [
pkgs.kitty pkgs.kitty
]; ];
################################# #################################
# Home Manager user configuration # Stylix (system-level)
#################################
stylix.targets.kitty.enable = true;
#################################
# Home Manager
################################# #################################
home-manager.users = { home-manager.users = {
${username} = { "${username}" = {
################################# #################################
# Enable Kitty # Kitty config (single source of truth)
################################# #################################
programs.kitty = { programs.kitty = {
enable = true; enable = true;
settings = { settings = {
confirm_os_window_close = 0; confirm_os_window_close = 0;
dynamic_background_opacity = true; dynamic_background_opacity = true;
enable_audio_bell = false; enable_audio_bell = false;
mouse_hide_wait = "-1.0"; mouse_hide_wait = "-1.0";
window_padding_width = 10; window_padding_width = 10;
background_opacity = "0.5"; background_opacity = "0.5";
background_blur = 5; background_blur = 5;
};
#################################
# Add your repo config safely
#################################
extraConfig = ''
# Your additional config
${extraConfig}
# Theme include (Stylix usually handles this, but safe fallback)
include themes/Catppuccin-Mocha.conf
'';
}; };
}; };
}; };
};
stylix.targets.kitty.enable = true;
} }
#+END_SRC #+END_SRC
@@ -1,48 +1,64 @@
{ lib, pkgs, config, flakeRoot, ... }: { lib, pkgs, config, flakeRoot, ... }:
let let
#################################
# Determine default username
#################################
username = config.defaultUser or "henrov"; username = config.defaultUser or "henrov";
moduleName = "kitty";
################################# #################################
# Paths to assets # Optional extra config snippet
################################# #################################
assetPath = "${flakeRoot}/generated/.config/${moduleName}"; extraConfigFile = "${flakeRoot}/generated/.config/kitty/extra.conf";
assetFiles = builtins.attrNames (builtins.readDir assetPath);
extraConfig =
if builtins.pathExists extraConfigFile
then builtins.readFile extraConfigFile
else "";
in in
{ {
################################# #################################
# System-wide packages # System-wide install
################################# #################################
environment.systemPackages = [ environment.systemPackages = [
pkgs.kitty pkgs.kitty
]; ];
################################# #################################
# Home Manager user configuration # Stylix (system-level)
#################################
stylix.targets.kitty.enable = true;
#################################
# Home Manager
################################# #################################
home-manager.users = { home-manager.users = {
${username} = { "${username}" = {
################################# #################################
# Enable Kitty # Kitty config (single source of truth)
################################# #################################
programs.kitty = { programs.kitty = {
enable = true; enable = true;
settings = { settings = {
confirm_os_window_close = 0; confirm_os_window_close = 0;
dynamic_background_opacity = true; dynamic_background_opacity = true;
enable_audio_bell = false; enable_audio_bell = false;
mouse_hide_wait = "-1.0"; mouse_hide_wait = "-1.0";
window_padding_width = 10; window_padding_width = 10;
background_opacity = "0.5"; background_opacity = "0.5";
background_blur = 5; background_blur = 5;
};
#################################
# Add your repo config safely
#################################
extraConfig = ''
# Your additional config
${extraConfig}
# Theme include (Stylix usually handles this, but safe fallback)
include themes/Catppuccin-Mocha.conf
'';
}; };
}; };
}; };
};
stylix.targets.kitty.enable = true;
} }