35 lines
612 B
Nix
35 lines
612 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
berkeley-mono = pkgs.stdenvNoCC.mkDerivation rec {
|
|
pname = "berkeley-mono";
|
|
version = "1.009";
|
|
|
|
src = ../../secret/fonts/BerkeleyMono;
|
|
|
|
dontPatch = true;
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
doCheck = false;
|
|
dontFixup = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -Dm644 -t $out/share/fonts/opentype/ *.otf
|
|
runHook postInstall
|
|
'';
|
|
};
|
|
in
|
|
{
|
|
home.packages = with pkgs; [
|
|
berkeley-mono
|
|
jetbrains-mono
|
|
noto-fonts
|
|
|
|
(nerdfonts.override {
|
|
fonts = [
|
|
"NerdFontsSymbolsOnly"
|
|
];
|
|
})
|
|
];
|
|
}
|