2024-04-20 09:42:06 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2022-05-07 09:24:17 -04:00
|
|
|
|
2024-04-20 09:42:06 -04:00
|
|
|
let
|
|
|
|
fontName = "Victor Mono";
|
|
|
|
in
|
|
|
|
{
|
2022-04-30 12:32:00 -04:00
|
|
|
|
2022-12-21 14:18:03 -07:00
|
|
|
config = lib.mkIf (config.gui.enable && pkgs.stdenv.isLinux) {
|
2022-04-30 12:32:00 -04:00
|
|
|
|
2023-07-30 12:42:45 -04:00
|
|
|
fonts.packages = with pkgs; [
|
2022-05-07 09:36:07 -04:00
|
|
|
victor-mono # Used for Vim and Terminal
|
2024-12-07 20:18:30 -05:00
|
|
|
nerd-fonts.hack # For Polybar, Rofi
|
2022-05-07 09:36:07 -04:00
|
|
|
];
|
2022-05-07 09:24:17 -04:00
|
|
|
fonts.fontconfig.defaultFonts.monospace = [ fontName ];
|
|
|
|
|
|
|
|
home-manager.users.${config.user} = {
|
|
|
|
xsession.windowManager.i3.config.fonts = {
|
|
|
|
names = [ "pango:${fontName}" ];
|
|
|
|
# style = "Regular";
|
|
|
|
# size = 11.0;
|
|
|
|
};
|
2022-05-07 09:36:07 -04:00
|
|
|
services.polybar.config."bar/main".font-0 = "Hack Nerd Font:size=10;2";
|
|
|
|
programs.rofi.font = "Hack Nerd Font 14";
|
2022-06-19 23:44:29 -04:00
|
|
|
programs.alacritty.settings.font.normal.family = fontName;
|
2022-10-30 20:15:32 -04:00
|
|
|
programs.kitty.font.name = fontName;
|
2023-04-02 19:19:40 -04:00
|
|
|
services.dunst.settings.global.font = "Hack Nerd Font 14";
|
2022-05-07 09:24:17 -04:00
|
|
|
};
|
2022-04-30 12:32:00 -04:00
|
|
|
};
|
2022-04-28 22:25:05 -04:00
|
|
|
}
|