Add more fonts for mac
This commit is contained in:
parent
80d3696e02
commit
4cdf4649de
1 changed files with 20 additions and 13 deletions
|
@ -13,19 +13,26 @@
|
|||
};
|
||||
|
||||
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=";
|
||||
})
|
||||
];
|
||||
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
|
||||
'';
|
||||
sha256 = "sha256-y+j3iHGXJP1pdylLJTlxbhyQ1oFAwini3o3ljLzOsoM=";
|
||||
})
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue