nix: +y-combinator-wallpaper

This commit is contained in:
Primrose 2024-10-20 17:07:42 +02:00
parent c902a681ec
commit 51b68d468e
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
4 changed files with 230 additions and 22 deletions

View file

@ -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 { };