remove unused fonts

This commit is contained in:
Cyryl Płotnicki 2022-07-16 16:15:51 +01:00
parent c451915682
commit f5863fae52

View file

@ -65,25 +65,19 @@
defaultFonts.monospace = [ "Berkeley Mono" ]; defaultFonts.monospace = [ "Berkeley Mono" ];
}; };
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs;
[
(runCommand "berkeley-fonts" { } '' (runCommand "berkeley-fonts" { } ''
mkdir -vp "$out/share/fonts/opentype" mkdir -vp "$out/share/fonts/opentype"
mkdir -vp "$out/share/fonts/truetype" mkdir -vp "$out/share/fonts/truetype"
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.otf -d $out/share/fonts/opentype ${pkgs.unzip}/bin/unzip ${
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.ttf -d $out/share/fonts/truetype ./fonts.zip
} \*.otf -d $out/share/fonts/opentype
${pkgs.unzip}/bin/unzip ${
./fonts.zip
} \*.ttf -d $out/share/fonts/truetype
'') '')
emojione
fira-code
font-awesome
iosevka
material-icons
nerdfonts
noto-fonts-emoji
powerline-fonts
source-code-pro
weather-icons
]; ];
nix = { nix = {