Add fonts on mac

This commit is contained in:
Cyryl Płotnicki 2022-03-10 12:47:31 +00:00
parent e8edef6d38
commit 80d3696e02

View file

@ -12,6 +12,21 @@
'';
};
fonts.enableFontDir = true;
fonts.fonts = with pkgs;
[
(fetchzip {
name = "berkeley-mono-fonts";
url = "file:///" + ../../fonts.zip;
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
'';
sha256 = "sha256-r4R7+GrdbksV+EtV68RlzTauTgBS3tzlqawgTMXyJW8=";
})
];
programs.zsh.enable = true; # default shell on catalina
system.stateVersion = 4;