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,26 +65,20 @@
defaultFonts.monospace = [ "Berkeley Mono" ];
};
fonts.fonts = with pkgs; [
(runCommand "berkeley-fonts" { } ''
mkdir -vp "$out/share/fonts/opentype"
mkdir -vp "$out/share/fonts/truetype"
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.otf -d $out/share/fonts/opentype
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.ttf -d $out/share/fonts/truetype
fonts.fonts = with pkgs;
[
(runCommand "berkeley-fonts" { } ''
mkdir -vp "$out/share/fonts/opentype"
mkdir -vp "$out/share/fonts/truetype"
${pkgs.unzip}/bin/unzip ${
./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 = {
autoOptimiseStore = true;