7113f7b6ae
I'll just say it right here. The 'fonts.fonts' thing really bugged me when I started out with NixOS and still annoyed me after. Its nice to see it made nicer, even if just for posterity.
20 lines
360 B
Nix
20 lines
360 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
fonts = {
|
|
enableDefaultPackages = true;
|
|
fontDir.enable = true;
|
|
packages = with pkgs; [
|
|
work-sans
|
|
ibm-plex
|
|
jetbrains-mono
|
|
cascadia-code
|
|
fira-code
|
|
emacs-all-the-icons-fonts
|
|
];
|
|
fontconfig = {
|
|
enable = true;
|
|
defaultFonts = { monospace = [ "JetBrains Mono" ]; };
|
|
};
|
|
};
|
|
}
|