mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nix): export lib
This commit is contained in:
parent
73afd2e280
commit
5b8e87c7a4
8 changed files with 30 additions and 6 deletions
41
nix/custom/default.nix
Normal file
41
nix/custom/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
pkgs,
|
||||
unstable,
|
||||
system,
|
||||
opam-nix,
|
||||
...
|
||||
}: let
|
||||
mkNerdFont = import ./mkNerdFont.nix {inherit pkgs unstable;};
|
||||
logisim-evolution = import ./logisim-evolution.nix {inherit pkgs;};
|
||||
|
||||
necrolib = import ./necrolib.nix {
|
||||
inherit pkgs system;
|
||||
inherit opam-nix;
|
||||
};
|
||||
|
||||
hiosevka = import ./hiosevka {inherit pkgs;};
|
||||
hiosevka-nerd-font-mono = mkNerdFont {
|
||||
font = hiosevka;
|
||||
extraArgs = ["--name {/.}-NFM" "--use-single-width-glyphs"];
|
||||
};
|
||||
hiosevka-nerd-font-propo = mkNerdFont {
|
||||
font = hiosevka;
|
||||
extraArgs = ["--name {/.}-NFP" "--variable-width-glyphs"];
|
||||
};
|
||||
in {
|
||||
myPkgs = {
|
||||
inherit
|
||||
logisim-evolution
|
||||
necrolib
|
||||
hiosevka
|
||||
hiosevka-nerd-font-mono
|
||||
hiosevka-nerd-font-propo
|
||||
;
|
||||
};
|
||||
|
||||
myLib = {
|
||||
inherit
|
||||
mkNerdFont
|
||||
;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue