nix
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user