This commit is contained in:
biscuit
2025-05-21 08:35:48 -05:00
parent ca5b15b377
commit 17ccf2ba8c
4 changed files with 39 additions and 6 deletions
Binary file not shown.
Binary file not shown.
+35
View File
@@ -0,0 +1,35 @@
{
stdenvNoCC,
lib,
}:
stdenvNoCC.stdenv.mkDerivation (finalAttrs: {
pname = "monolisa";
version = "2.015";
src = ./.;
nativeBuildInputs = [
];
buildInputs = [
];
installPhase = ''
mkdir -p $out/share/fonts/truetype/
if [ -d "$src/fonts" ]; then
cp -r $src/fonts/*.ttf $out/share/fonts/truetype
else
echo "No fonts found in $src/fonts"
exit 0
fi
'';
meta = {
description = "";
homepage = "https://www.monolisa.dev/";
platforms = platforms.all;
# license = lib.licenses.;
# maintainers = with lib.maintainers; [ ];
};
})
+4 -6
View File
@@ -3,13 +3,11 @@
inputs,
system,
...
}: {
# imports = [ inputs.unlisted-fonts.packages.${system}.default ];
environment.systemPackages = with pkgs; [
# inputs.monolisa.packages.${system}.monolisa-font
inputs.unlisted-fonts.packages.${system}.gillsans
];
}: let
monolisa = pkgs.callPackage ../pkgs/fonts/Monolisa/monolisa.nix;
in {
fonts.packages = with pkgs; [
monolisa
nerd-fonts.fira-code
nerd-fonts.jetbrains-mono
nerd-fonts.iosevka