Regenerated
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, pkgs, config, flakeRoot,... }:
|
||||
{ lib, pkgs, config, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
#################################
|
||||
@@ -10,14 +10,8 @@ let
|
||||
#################################
|
||||
# Paths to assets
|
||||
#################################
|
||||
assetPath = "${flakeRoot}/generated/.config/kitty";
|
||||
programFiles = builtins.readDir assetPath;
|
||||
|
||||
# Convert asset files into a nix attribute set
|
||||
files = lib.genAttrs (builtins.attrNames programFiles) (name: {
|
||||
source = "${assetPath}/${name}";
|
||||
});
|
||||
|
||||
assetPath = "${flakeRoot}/generated/.config/${moduleName}";
|
||||
assetFiles = builtins.attrNames (builtins.readDir assetPath);
|
||||
in
|
||||
{
|
||||
#################################
|
||||
@@ -33,20 +27,29 @@ in
|
||||
home-manager.users = {
|
||||
${username} = {
|
||||
|
||||
# Enable Kitty through Home Manager
|
||||
programs.kitty.enable = true;
|
||||
#################################
|
||||
# Enable Kitty
|
||||
#################################
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
|
||||
# Extra user-specific config snippet
|
||||
programs.kitty.extraConfig = ''
|
||||
# Include the Catppuccin-Mocha theme
|
||||
include themes/Catppuccin-Mocha.conf
|
||||
'';
|
||||
extraConfig = ''
|
||||
# Include the Catppuccin-Mocha theme
|
||||
include themes/Catppuccin-Mocha.conf
|
||||
'';
|
||||
};
|
||||
|
||||
# Map all asset files into ~/.config/kitty/
|
||||
home.file = lib.mkMerge (
|
||||
map (name: { ".config/${moduleName}/${name}" = { source = files.${name}.source; }; })
|
||||
(builtins.attrNames files)
|
||||
);
|
||||
#################################
|
||||
# Copy config files
|
||||
#################################
|
||||
home.file =
|
||||
(lib.mapAttrs'
|
||||
(name: _: {
|
||||
name = ".config/${moduleName}/${name}";
|
||||
value.source = "${assetPath}/${name}";
|
||||
})
|
||||
(builtins.readDir assetPath)
|
||||
);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,15 +41,12 @@ in
|
||||
#################################
|
||||
stylix = {
|
||||
enable = true;
|
||||
|
||||
base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
|
||||
polarity = "dark";
|
||||
|
||||
targets = {
|
||||
gtk.enable = true;
|
||||
qt.enable = true;
|
||||
};
|
||||
|
||||
# Define FULL cursor set OR remove entirely
|
||||
cursor = {
|
||||
name = cursorName;
|
||||
|
||||
Reference in New Issue
Block a user