Regenerated

This commit is contained in:
2026-03-31 11:23:37 +00:00
parent 306a969c76
commit b91115905b
4 changed files with 360 additions and 362 deletions
+312 -313
View File
File diff suppressed because it is too large Load Diff
+24 -25
View File
@@ -448,7 +448,7 @@ com.todoist.Todoist
** =generated/modules/traveldroid/apps/kitty.nix= ** =generated/modules/traveldroid/apps/kitty.nix=
This file sets up Kitty terminal This file sets up Kitty terminal
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/kitty.nix :noweb yes :mkdirp yes :eval never #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/kitty.nix :noweb yes :mkdirp yes :eval never
{ lib, pkgs, config, flakeRoot,... }: { lib, pkgs, config, flakeRoot, ... }:
let let
################################# #################################
@@ -460,14 +460,8 @@ let
################################# #################################
# Paths to assets # Paths to assets
################################# #################################
assetPath = "${flakeRoot}/generated/.config/kitty"; assetPath = "${flakeRoot}/generated/.config/${moduleName}";
programFiles = builtins.readDir assetPath; assetFiles = builtins.attrNames (builtins.readDir assetPath);
# Convert asset files into a nix attribute set
files = lib.genAttrs (builtins.attrNames programFiles) (name: {
source = "${assetPath}/${name}";
});
in in
{ {
################################# #################################
@@ -483,24 +477,32 @@ in
home-manager.users = { home-manager.users = {
${username} = { ${username} = {
# Enable Kitty through Home Manager #################################
programs.kitty.enable = true; # Enable Kitty
#################################
programs.kitty = {
enable = true;
# Extra user-specific config snippet extraConfig = ''
programs.kitty.extraConfig = '' # Include the Catppuccin-Mocha theme
# Include the Catppuccin-Mocha theme include themes/Catppuccin-Mocha.conf
include themes/Catppuccin-Mocha.conf '';
''; };
# Map all asset files into ~/.config/kitty/ #################################
home.file = lib.mkMerge ( # Copy config files
map (name: { ".config/${moduleName}/${name}" = { source = files.${name}.source; }; }) #################################
(builtins.attrNames files) home.file =
); (lib.mapAttrs'
(name: _: {
name = ".config/${moduleName}/${name}";
value.source = "${assetPath}/${name}";
})
(builtins.readDir assetPath)
);
}; };
}; };
} }
#+END_SRC #+END_SRC
** =.config/kitty/Catppuccin-Mocha.conf= ** =.config/kitty/Catppuccin-Mocha.conf=
@@ -2507,15 +2509,12 @@ in
################################# #################################
stylix = { stylix = {
enable = true; enable = true;
base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml"; base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
polarity = "dark"; polarity = "dark";
targets = { targets = {
gtk.enable = true; gtk.enable = true;
qt.enable = true; qt.enable = true;
}; };
# Define FULL cursor set OR remove entirely # Define FULL cursor set OR remove entirely
cursor = { cursor = {
name = cursorName; name = cursorName;
@@ -1,4 +1,4 @@
{ lib, pkgs, config, flakeRoot,... }: { lib, pkgs, config, flakeRoot, ... }:
let let
################################# #################################
@@ -10,14 +10,8 @@ let
################################# #################################
# Paths to assets # Paths to assets
################################# #################################
assetPath = "${flakeRoot}/generated/.config/kitty"; assetPath = "${flakeRoot}/generated/.config/${moduleName}";
programFiles = builtins.readDir assetPath; assetFiles = builtins.attrNames (builtins.readDir assetPath);
# Convert asset files into a nix attribute set
files = lib.genAttrs (builtins.attrNames programFiles) (name: {
source = "${assetPath}/${name}";
});
in in
{ {
################################# #################################
@@ -33,20 +27,29 @@ in
home-manager.users = { home-manager.users = {
${username} = { ${username} = {
# Enable Kitty through Home Manager #################################
programs.kitty.enable = true; # Enable Kitty
#################################
programs.kitty = {
enable = true;
# Extra user-specific config snippet extraConfig = ''
programs.kitty.extraConfig = '' # Include the Catppuccin-Mocha theme
# Include the Catppuccin-Mocha theme include themes/Catppuccin-Mocha.conf
include themes/Catppuccin-Mocha.conf '';
''; };
# Map all asset files into ~/.config/kitty/ #################################
home.file = lib.mkMerge ( # Copy config files
map (name: { ".config/${moduleName}/${name}" = { source = files.${name}.source; }; }) #################################
(builtins.attrNames files) home.file =
); (lib.mapAttrs'
(name: _: {
name = ".config/${moduleName}/${name}";
value.source = "${assetPath}/${name}";
})
(builtins.readDir assetPath)
);
}; };
}; };
} }
@@ -41,15 +41,12 @@ in
################################# #################################
stylix = { stylix = {
enable = true; enable = true;
base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml"; base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
polarity = "dark"; polarity = "dark";
targets = { targets = {
gtk.enable = true; gtk.enable = true;
qt.enable = true; qt.enable = true;
}; };
# Define FULL cursor set OR remove entirely # Define FULL cursor set OR remove entirely
cursor = { cursor = {
name = cursorName; name = cursorName;