Home

Awesome

SFMono-Nerd-Font-Ligaturized

This repository contains pre-patched opentype versions of macOS's SFMono fonts with support for Ligatures and Nerd Fonts.

Showcase

<img width="1087" alt="image" src="https://user-images.githubusercontent.com/71196912/205556850-5805aad7-3500-4a98-9ef2-b0cdc6aff957.png"> <img width="1514" alt="image" src="https://user-images.githubusercontent.com/71196912/205555115-7079b836-2c7e-43d7-b81b-256cc8d12807.png">

Installation

Manual

Linux

Copy all of the font files to ~/.local/share/fonts

git clone https://github.com/shaunsingh/SFMono-Nerd-Font-Ligaturized.git && cd SFMono-Nerd-Font-Ligaturized
cp *.otf ~/.local/share/fonts

MacOS

  1. Either clone or download and unzip this repository
  2. Highlight and double-click to install all .otf files with Font Book

Homebrew

Needs a working installation of brew

brew tap shaunsingh/SFMono-Nerd-Font-Ligaturized
brew install --cask font-sf-mono-nerd-font-ligaturized

Nix (flake)

Add this repo as an input

inputs = {
  # SFMono w/ patches
  sf-mono-liga-src = {
    url = "github:shaunsingh/SFMono-Nerd-Font-Ligaturized";
    flake = false;
  };
};

Then add the following overlay

(final: prev: {
  sf-mono-liga-bin = prev.stdenvNoCC.mkDerivation rec {
    pname = "sf-mono-liga-bin";
    version = "dev";
    src = inputs.sf-mono-liga-src;
    dontConfigure = true;
    installPhase = ''
      mkdir -p $out/share/fonts/opentype
      cp -R $src/*.otf $out/share/fonts/opentype/
    '';
  };
}) 

Now you can install sf-mono-liga-bin as normal

fonts = {
  fonts = with pkgs; [ sf-mono-liga-bin ];
};

Features

Contains the following Iconsets:

Ligatures are from FiraCode v3.1