kitty: migrate to font modules

This commit is contained in:
Aly Raffauf 2024-08-07 21:52:57 -04:00
parent f54de08162
commit 281fd1a50f

View file

@ -3,14 +3,16 @@
lib, lib,
pkgs, pkgs,
... ...
}: { }: let
config = lib.mkIf config.ar.home.apps.kitty.enable { cfg = config.ar.home;
in {
config = lib.mkIf cfg.apps.kitty.enable {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
font = { font = {
name = "UbuntuSansMono Nerd Font"; inherit (cfg.theme.monospaceFont) name;
size = config.gtk.font.size + 1; size = cfg.theme.monospaceFont.size + 1;
}; };
settings = { settings = {