33 lines
601 B
Nix
33 lines
601 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
cfg = config.homeModules.fonts;
|
|
in
|
|
|
|
lib.mkIf cfg.enable {
|
|
fonts = {
|
|
fontconfig = {
|
|
enable = true;
|
|
defaultFonts = {
|
|
emoji = ["emojione"];
|
|
monospace = ["0xproto"];
|
|
sansSerif = ["open-dyslexic"];
|
|
serif = ["open-dyslexic"];
|
|
};
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
emojione
|
|
nerd-fonts._0xproto
|
|
nerd-fonts.droid-sans-mono
|
|
nerd-fonts.hack
|
|
nerd-fonts.noto
|
|
nerd-fonts.open-dyslexic
|
|
nerd-fonts.symbols-only
|
|
nerd-fonts.ubuntu
|
|
nerd-fonts.jetbrains-mono
|
|
];
|
|
|
|
}
|