Initial commit

This commit is contained in:
2026-03-31 16:53:11 +02:00
commit d0eba1c834
343 changed files with 34443 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
{
inputs,
pkgs,
...
}: {
fonts = {
packages = with pkgs; [
# icon fonts
material-symbols
# normal fonts
noto-fonts
noto-fonts-cjk-sans
noto-fonts-color-emoji
# nerdfonts
nerd-fonts.symbols-only
nerd-fonts.sauce-code-pro
cozette
inputs.self.packages.${stdenv.hostPlatform.system}.apple-fonts
];
# causes more issues than it solves
enableDefaultPackages = false;
fontconfig = {
enable = true;
antialias = true;
hinting = {
enable = true;
autohint = false;
style = "full";
};
subpixel = {
lcdfilter = "default";
rgba = "rgb";
};
defaultFonts = let
addAll = builtins.mapAttrs (_: v: ["Symbols Nerd Font"] ++ v ++ ["Noto Color Emoji"]);
in
addAll {
serif = ["New York Small"];
sansSerif = ["SF Pro Display"];
monospace = ["SauceCodePro Nerd Font"];
emoji = ["Noto Color Emoji"];
};
};
fontDir = {
enable = true;
decompressFonts = true;
};
};
}