SFMono-Nerd-Font-Ligaturized
This repository contains pre-patched opentype versions of macOS's SFMono fonts with support for Ligatures and Nerd Fonts.
Showcase
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
- Either clone or download and unzip this repository
- 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:
- fontawesome
- fontawesomeextentions
- fontlogos
- octicons
- codicons
- pomicons
- powerline (height adjusted)
- powerlineextra (height adjusted)
- material
- weather
Ligatures are from FiraCode v3.1