kitty font size option

This commit is contained in:
KoenDR06 2025-11-25 21:52:02 +01:00
parent 2468c5ab74
commit 10a37111fa
3 changed files with 10 additions and 3 deletions

View file

@ -3,7 +3,7 @@
config, config,
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption mkOption types;
cfg = config.horseman.dots.kitty; cfg = config.horseman.dots.kitty;
username = config.horseman.username; username = config.horseman.username;
colors = config.horseman.catppuccin.colors; colors = config.horseman.catppuccin.colors;
@ -11,6 +11,11 @@ in {
options = { options = {
horseman.dots.kitty = { horseman.dots.kitty = {
enable = mkEnableOption "~/.config/kitty/kitty.conf"; enable = mkEnableOption "~/.config/kitty/kitty.conf";
fontSize = mkOption {
type = types.int;
default = 11;
};
}; };
}; };
@ -25,7 +30,7 @@ in {
bold_font family='CaskaydiaCove Nerd Font' style=SemiBold bold_font family='CaskaydiaCove Nerd Font' style=SemiBold
italic_font family='CaskaydiaCove Nerd Font' postscript_name=CaskaydiaCoveNF-LightItalic italic_font family='CaskaydiaCove Nerd Font' postscript_name=CaskaydiaCoveNF-LightItalic
bold_italic_font family='CaskaydiaCove Nerd Font' style='SemiBold Italic' bold_italic_font family='CaskaydiaCove Nerd Font' style='SemiBold Italic'
font_size 14 font_size ${toString cfg.fontSize}
# The basic colors # The basic colors
foreground ${colors.text} foreground ${colors.text}

View file

@ -4,6 +4,8 @@
]; ];
config.horseman = { config.horseman = {
dots.kitty.fontSize = 14;
catppuccin.flavor = "mocha"; catppuccin.flavor = "mocha";
users.default.enable = true; users.default.enable = true;

View file

@ -102,7 +102,7 @@ in {
blur = { blur = {
enabled = true; enabled = true;
size = 25; size = 25;
passes = 2; passes = 3;
}; };
}; };