nix-configs/modules/desktop/fonts.nix

34 lines
809 B
Nix
Raw Normal View History

2024-03-03 14:22:10 +01:00
{pkgs, ...}: {
2025-03-10 14:23:05 +01:00
nixpkgs.config.packageOverrides = pkgs: {
google-fonts = pkgs.google-fonts.overrideAttrs (oldAttrs: {
src = pkgs.fetchFromGitHub {
owner = "google";
repo = "fonts";
rev = "8a0041ea7b92e339a7ce13e4e1dadcc85cb8f5df";
sha256 = "sha256-9TzeihEKIEDRtDuv+NmLWjTpoGnBR+RP/jIBfB1O06U=";
};
installPhase = oldAttrs.installPhase + "mv $out/share/fonts/truetype $out/share/fonts/ttf";
});
};
2024-03-03 14:22:10 +01:00
fonts.packages = with pkgs; [
2025-01-01 03:12:41 +01:00
nerd-fonts.fira-code
nerd-fonts.departure-mono
2024-11-20 10:39:37 +01:00
google-fonts
2024-03-03 14:22:10 +01:00
montserrat
noto-fonts
atkinson-hyperlegible
arkpandora_ttf
liberation_ttf
caladea
carlito
garamond-libre
ocr-a
amiri
libertine
inter
2024-04-10 17:37:36 +02:00
b612
2024-09-02 19:14:45 +02:00
departure-mono
2024-03-03 14:22:10 +01:00
];
fonts.fontDir.enable = true;
}