diff --git a/nixos/common.nix b/nixos/common.nix index caddc0c9..445149c8 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -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;