1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2026-01-27 04:06:28 +01:00
flake/home/fonts.nix

24 lines
539 B
Nix

{ pkgs, flake', ... }:
{
home.packages = with pkgs; [
inter
public-sans
flake'.packages.ibm-plex-compat
flake'.packages.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" ];
})
];
}