36 lines
624 B
Nix
36 lines
624 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
|
|
unifont
|
|
|
|
(nerdfonts.override {
|
|
fonts = [
|
|
"NerdFontsSymbolsOnly"
|
|
];
|
|
})
|
|
];
|
|
}
|