feat(font): add apl386
This commit is contained in:
parent
3ea7f8f494
commit
b1493bcc49
5 changed files with 54 additions and 1 deletions
|
@ -23,6 +23,7 @@ in {
|
|||
|
||||
fonts.fonts = with pkgs; [
|
||||
(nerdfonts.override {fonts = ["Go-Mono"];})
|
||||
apl386
|
||||
dejavu_fonts
|
||||
noto-fonts
|
||||
];
|
||||
|
|
|
@ -40,7 +40,11 @@
|
|||
nixosConfigurations.fanya = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = args;
|
||||
modules = [./fanya.nix];
|
||||
modules = [
|
||||
./fanya.nix
|
||||
|
||||
(_: {nixpkgs.overlays = [(import ./overlay)];})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
32
overlay/apl386/default.nix
Normal file
32
overlay/apl386/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "apl386";
|
||||
version = "2022-03-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "abrudz";
|
||||
repo = "APL386";
|
||||
rev = "6332c9dbb588946a0e8c9d7984dd0c003eeea266";
|
||||
sha256 = "sha256-oHk4e7NRgAjGtZzQmZToYz7wCZETaj7/yRwZMeeYF2M=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 APL386.ttf -t $out/share/fonts/apl386
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "APL385 Unicode font evolved ";
|
||||
homepage = "https://github.com/abrudz/APL386";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [buffet];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
3
overlay/default.nix
Normal file
3
overlay/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
self: super: {
|
||||
apl386 = super.callPackage ./apl386 {};
|
||||
}
|
13
programs/sbcl.nix
Normal file
13
programs/sbcl.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{pkgs, ...}: {
|
||||
home-manager.users.buffet = {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
sbcl
|
||||
];
|
||||
|
||||
file.".config/common-lisp/source-registry.conf.d/lisp.conf".text = ''
|
||||
(:tree "/home/buffet/proj")
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue