Regenerated
This commit is contained in:
+312
-313
File diff suppressed because it is too large
Load Diff
+24
-25
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user