treewide: replace apple-color-emoji with noto-color-emoji

This commit is contained in:
Anthony Rodriguez 2024-11-23 23:56:07 +01:00
parent 1fb4f50121
commit 57100dcead
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
3 changed files with 3 additions and 24 deletions

View file

@ -1,16 +0,0 @@
{pkgs, ...}: let
version = "v17.4";
in
pkgs.stdenv.mkDerivation {
inherit version;
name = "apple-color-emoji";
src = pkgs.fetchurl {
url = "https://github.com/samuelngs/apple-emoji-linux/releases/download/${version}/AppleColorEmoji.ttf";
sha256 = "sha256-SG3JQLybhY/fMX+XqmB/BKhQSBB0N1VRqa+H6laVUPE=";
};
phases = ["installPhase"];
installPhase = ''
mkdir -p $out/share/fonts/truetype/apple-color-emoji
cp $src $out/share/fonts/truetype/apple-color-emoji/AppleColorEmoji.ttf
'';
}

View file

@ -12,5 +12,4 @@
})
.callPackage
./bolt-launcher.nix {};
apple-emoji-color = pkgs.callPackage ./apple-emoji-color.nix {};
}

View file

@ -4,19 +4,15 @@
...
}: {
fonts = {
fontDir = {
enable = true;
decompressFonts = true;
};
enableDefaultPackages = false;
packages = [
pkgs.noto-fonts
pkgs.noto-fonts-cjk-sans
pkgs.noto-fonts-extra
pkgs.intel-one-mono
inputs.self.packages.${pkgs.system}.apple-emoji-color
pkgs.noto-fonts-color-emoji
(pkgs.nerdfonts.override {fonts = ["IntelOneMono" "NerdFontsSymbolsOnly"];})
];
enableDefaultPackages = false;
fontconfig = {
enable = true;
@ -24,7 +20,7 @@
serif = ["Noto Serif"];
sansSerif = ["Inter Medium"];
monospace = ["IntoneMono NF"];
emoji = ["Apple Color Emoji"];
emoji = ["Noto Color Emoji"];
};
};
};