summaryrefslogtreecommitdiff
path: root/home-manager/modules
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-12-03 09:23:28 -0500
committertriethyl <triethylammonium@pm.me>2025-12-03 09:23:28 -0500
commit40a69747aa6f8d8540899701ec94f8238a20ede2 (patch)
tree5e236adc057e44ab69f1e12e16660d60bfbf9c95 /home-manager/modules
parent3fbf24ae03f16d937e067a651b9fb306a59d8530 (diff)
home-manager: added kitty feature
Diffstat (limited to 'home-manager/modules')
-rw-r--r--home-manager/modules/aesthetics/default.nix2
-rw-r--r--home-manager/modules/aesthetics/targets/default.nix1
-rw-r--r--home-manager/modules/aesthetics/targets/kitty.nix8
3 files changed, 7 insertions, 4 deletions
diff --git a/home-manager/modules/aesthetics/default.nix b/home-manager/modules/aesthetics/default.nix
index c49a198..8e16ad6 100644
--- a/home-manager/modules/aesthetics/default.nix
+++ b/home-manager/modules/aesthetics/default.nix
@@ -34,7 +34,7 @@ in {
font = {
name = lib.mkOption {
type = lib.types.str;
- default = "CodeNewRoman Nerd Font";
+ default = "CodeNewRoman Nerd Font Mono";
description = "The font to use.";
};
package = lib.mkOption {
diff --git a/home-manager/modules/aesthetics/targets/default.nix b/home-manager/modules/aesthetics/targets/default.nix
index 7dba76d..40c6751 100644
--- a/home-manager/modules/aesthetics/targets/default.nix
+++ b/home-manager/modules/aesthetics/targets/default.nix
@@ -7,5 +7,6 @@
./gtk.nix
./foot.nix
./vesktop.nix
+ ./kitty.nix
];
}
diff --git a/home-manager/modules/aesthetics/targets/kitty.nix b/home-manager/modules/aesthetics/targets/kitty.nix
index 627eda5..834e652 100644
--- a/home-manager/modules/aesthetics/targets/kitty.nix
+++ b/home-manager/modules/aesthetics/targets/kitty.nix
@@ -2,16 +2,18 @@
cfg = config.aesthetics.targets.kitty;
aes = config.aesthetics;
in {
- options.aesthetics.targets.foot.enable = lib.mkOption {
+ options.aesthetics.targets.kitty.enable = lib.mkOption {
type = lib.types.bool;
default = (aes.enableAllTargets && aes.hasGui);
description = "Whether to enable the aesthetics kitty target.";
};
- config = lib.mkIf (cfg.enable && config.programs.foot.enable) {
+ config = lib.mkIf (cfg.enable && config.programs.kitty.enable) {
programs.kitty.settings = with aes.scheme; {
- font_family = aes.font.name;
+ font_family = "${aes.font.name} Mono";
font_size = aes.font.size.small;
+ box_drawing_scale = "0.001, 1.5, 1.5, 2";
+
background = "#${base00}";
foreground = "#${base05}";
selection_background = "#${base05}";