add fonts module and use that instead

This commit is contained in:
insects 2024-08-10 22:15:21 +02:00
parent e752131a89
commit 794cf3b7f1
5 changed files with 58 additions and 6 deletions

View file

@ -1,8 +1,13 @@
{ imports, config, pkgs, ... }: {
home.packages = with pkgs; [
noto-fonts
noto-fonts-emoji
];
fonts.fontconfig.enable = true;
fontProfiles = {
enable = true;
monospace = {
family = "JetBrains Mono Nerd Font";
package = pkgs.nerdfonts.override { fonts = ["JetBrainsMono"]; };
};
regular = {
family = "Fira Sans";
package = pkgs.fira;
};
};
}