Use regular Fira Code package

This commit is contained in:
Mikael 2024-09-22 21:01:31 +02:00
parent 236dfea745
commit 3cfc5ac5a6
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0
2 changed files with 1 additions and 24 deletions

View file

@ -30,9 +30,9 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
};
home.packages = with pkgs; [
fira-code
julia-mono
lato
self.packages.${pkgs.system}.fira-code
mplus-outline-fonts.githubRelease
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
noto-fonts

View file

@ -1,23 +0,0 @@
{ ... }: { stdenv, lib, fetchzip }:
stdenv.mkDerivation (finalAttrs: {
pname = "fira-code";
version = "unstable-2024-08-27";
src = fetchzip {
url = "https://github.com/illdefined/FiraCode/releases/download/unstable-2024-08-27/Fira_Code_8557c11.zip";
stripRoot = false;
hash = "sha256-pcxwlqTntP+/tNOX+MPG+YTiSv1odX4fa3zBfJViQGQ=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
install -D -m 0644 -t "$out/share/fonts" \
"variable_ttf/Fira Code/FiraCode-VF.ttf"
runHook postInstall
'';
})