1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00
flake/home/fonts.nix

22 lines
482 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
inter
public-sans
ibm-plex
ryan-mono-bin
# Install the variable fonts for Cascadia Code (which
# are recommended) instead of the static fonts
(cascadia-code.overrideAttrs {
installPhase = ''
runHook preInstall
install -Dm644 ttf/*.ttf -t $out/share/fonts/truetype
runHook postInstall
'';
})
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
];
}