Add more fonts for mac

This commit is contained in:
Cyryl Płotnicki 2022-03-11 10:27:49 +00:00
parent 80d3696e02
commit 4cdf4649de

View file

@ -13,19 +13,26 @@
}; };
fonts.enableFontDir = true; fonts.enableFontDir = true;
fonts.fonts = with pkgs; fonts.fonts = with pkgs; [
[ (fetchzip {
(fetchzip { name = "berkeley-mono-fonts";
name = "berkeley-mono-fonts"; url = "file:///" + ../../fonts.zip;
url = "file:///" + ../../fonts.zip; postFetch = ''
postFetch = '' mkdir -p $out/share/fonts
mkdir -p $out/share/fonts unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype '';
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype sha256 = "sha256-y+j3iHGXJP1pdylLJTlxbhyQ1oFAwini3o3ljLzOsoM=";
''; })
sha256 = "sha256-r4R7+GrdbksV+EtV68RlzTauTgBS3tzlqawgTMXyJW8="; fira-code
}) font-awesome
]; iosevka
material-icons
nerdfonts
noto-fonts-emoji
powerline-fonts
source-code-pro
weather-icons
];
programs.zsh.enable = true; # default shell on catalina programs.zsh.enable = true; # default shell on catalina