remove unused fonts
This commit is contained in:
parent
c451915682
commit
f5863fae52
1 changed files with 13 additions and 19 deletions
|
@ -65,26 +65,20 @@
|
||||||
defaultFonts.monospace = [ "Berkeley Mono" ];
|
defaultFonts.monospace = [ "Berkeley Mono" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fonts = with pkgs; [
|
fonts.fonts = with pkgs;
|
||||||
(runCommand "berkeley-fonts" { } ''
|
[
|
||||||
mkdir -vp "$out/share/fonts/opentype"
|
(runCommand "berkeley-fonts" { } ''
|
||||||
mkdir -vp "$out/share/fonts/truetype"
|
mkdir -vp "$out/share/fonts/opentype"
|
||||||
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.otf -d $out/share/fonts/opentype
|
mkdir -vp "$out/share/fonts/truetype"
|
||||||
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.ttf -d $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 = {
|
nix = {
|
||||||
autoOptimiseStore = true;
|
autoOptimiseStore = true;
|
||||||
|
|
Loading…
Reference in a new issue