Enable fonts

This commit is contained in:
Natsu Kagami 2021-11-08 16:21:27 -05:00
parent 253bb50e93
commit 336f75bf50
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
3 changed files with 32 additions and 20 deletions

View file

@ -10,6 +10,8 @@
./hardware-configuration.nix
# secret management
./secrets
# Fonts
../modules/personal/fonts
];
# Use the systemd-boot EFI boot loader.
@ -134,26 +136,6 @@
VISUAL = "kak";
};
# Fonts
fonts = {
enableDefaultFonts = false;
fonts = with pkgs; [
noto-fonts-emoji-blob-bin
ibm-plex
(nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
noto-fonts
noto-fonts-cjk
];
fontconfig = {
defaultFonts = {
emoji = lib.mkBefore [ "Blobmoji" ];
serif = lib.mkBefore [ "IBM Plex Serif" ];
sansSerif = lib.mkBefore [ "IBM Plex Sans" ];
monospace = lib.mkBefore [ "IBM Plex Mono" ];
};
};
};
# Enable Desktop Environment.
services.xserver.displayManager = {
lightdm.enable = true;