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,
...
}: let
inherit (lib) mkIf mkEnableOption;
inherit (lib) mkIf mkEnableOption mkOption types;
cfg = config.horseman.dots.kitty;
username = config.horseman.username;
colors = config.horseman.catppuccin.colors;
@ -11,6 +11,11 @@ in {
options = {
horseman.dots.kitty = {
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
italic_font family='CaskaydiaCove Nerd Font' postscript_name=CaskaydiaCoveNF-LightItalic
bold_italic_font family='CaskaydiaCove Nerd Font' style='SemiBold Italic'
font_size 14
font_size ${toString cfg.fontSize}
# The basic colors
foreground ${colors.text}