Add fonts on mac
This commit is contained in:
parent
e8edef6d38
commit
80d3696e02
1 changed files with 15 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue