Use regular Fira Code package
This commit is contained in:
parent
236dfea745
commit
3cfc5ac5a6
2 changed files with 1 additions and 24 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
})
|
Loading…
Reference in a new issue