mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nix: +y-combinator-wallpaper
This commit is contained in:
parent
c902a681ec
commit
51b68d468e
4 changed files with 230 additions and 22 deletions
|
|
@ -2,10 +2,14 @@
|
|||
self,
|
||||
lib,
|
||||
inputs,
|
||||
|
||||
withSystem,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ inputs.flakies.flakeModules.typstLib ];
|
||||
|
||||
flake.lib.mkNerdFont = ./mkNerdFont.nix;
|
||||
|
||||
flake.overlays.packages =
|
||||
|
|
@ -71,6 +75,18 @@
|
|||
ffgun = final.callPackage ./ffgun.nix { };
|
||||
easyscan = final.callPackage ./easyscan.nix { };
|
||||
|
||||
y-combinator-wallpaper = withSystem final.system (
|
||||
{ typstLib, ... }:
|
||||
typstLib.typstDerivation.overrideAttrs {
|
||||
src = ./y-combinator-wallpaper;
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
typst compile main.typ "$out"/main.svg
|
||||
'';
|
||||
dontFixup = true;
|
||||
}
|
||||
);
|
||||
|
||||
# Unmerged packages from nixfinal
|
||||
# TODO: use upstream when merged
|
||||
dl-librescore = final.callPackage ./dl-librescore.nix { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue