2022-05-07 13:24:17 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
let fontName = "Victor Mono";
|
|
|
|
|
|
|
|
in {
|
2022-04-30 16:32:00 +00:00
|
|
|
|
2022-05-06 03:01:56 +00:00
|
|
|
config = lib.mkIf config.gui.enable {
|
2022-04-30 16:32:00 +00:00
|
|
|
|
|
|
|
fonts.fonts = with pkgs;
|
|
|
|
[
|
2022-05-06 03:01:56 +00:00
|
|
|
pkgs.victor-mono # Used for Vim and Terminal
|
2022-04-30 16:32:00 +00:00
|
|
|
];
|
2022-05-07 13:24:17 +00:00
|
|
|
fonts.fontconfig.defaultFonts.monospace = [ fontName ];
|
|
|
|
|
|
|
|
home-manager.users.${config.user} = {
|
|
|
|
xsession.windowManager.i3.config.fonts = {
|
|
|
|
names = [ "pango:${fontName}" ];
|
|
|
|
# style = "Regular";
|
|
|
|
# size = 11.0;
|
|
|
|
};
|
|
|
|
programs.rofi.font = "${fontName} 14";
|
|
|
|
};
|
2022-04-30 16:32:00 +00:00
|
|
|
|
|
|
|
};
|
2022-04-29 02:25:05 +00:00
|
|
|
|
|
|
|
}
|