dotfiles/modules/darwin/fonts.nix

18 lines
430 B
Nix
Raw Normal View History

2022-12-21 21:18:03 +00:00
{ config, pkgs, lib, ... }: {
2022-06-20 03:44:29 +00:00
2022-12-21 21:18:03 +00:00
home-manager.users.${config.user} = lib.mkIf pkgs.stdenv.isDarwin {
2022-06-20 03:44:29 +00:00
home.packages = with pkgs;
2022-11-20 02:40:04 +00:00
[ (nerdfonts.override { fonts = [ "VictorMono" ]; }) ];
2022-06-20 03:44:29 +00:00
2022-11-20 02:40:04 +00:00
programs.alacritty.settings = { font.normal.family = "VictorMono"; };
2022-06-20 03:44:29 +00:00
programs.kitty.font = {
2022-11-20 02:40:04 +00:00
package = (pkgs.nerdfonts.override { fonts = [ "VictorMono" ]; });
name = "VictorMono Nerd Font Mono";
};
2022-06-20 03:44:29 +00:00
};
}