mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: moved y-combinator wallpaper to its own project/input
This commit is contained in:
parent
37ac054f17
commit
10ee882d9e
6 changed files with 289 additions and 173 deletions
|
|
@ -2,14 +2,10 @@
|
|||
self,
|
||||
lib,
|
||||
inputs,
|
||||
|
||||
withSystem,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ inputs.flakies.flakeModules.typstLib ];
|
||||
|
||||
flake.lib.mkNerdFont = ./mkNerdFont.nix;
|
||||
|
||||
flake.overlays.packages =
|
||||
|
|
@ -77,25 +73,6 @@
|
|||
ffgun = final.callPackage ./ffgun.nix { };
|
||||
easyscan = final.callPackage ./easyscan.nix { };
|
||||
|
||||
y-combinator-wallpaper = withSystem final.system (
|
||||
{ typstLib, ... }:
|
||||
typstLib.typstDerivation.overrideAttrs {
|
||||
src = ./y-combinator-wallpaper;
|
||||
dontFixup = true; # no need to patch the pdf
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
typst compile main.typ main.svg
|
||||
runHook postBuild
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p "$out"
|
||||
cp main.svg "$out/"
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
);
|
||||
|
||||
# Unmerged packages from nixfinal
|
||||
# TODO: use upstream when merged
|
||||
dl-librescore = final.callPackage ./dl-librescore.nix { };
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
#import "@preview/stonewall:0.1.0": lesbian as gae
|
||||
#import "@preview/weave:0.2.0": compose_ as c_
|
||||
|
||||
#set page(width: 3840pt, height: 2160pt, fill: black)
|
||||
|
||||
#c_((
|
||||
align.with(horizon + center),
|
||||
text.with(
|
||||
size: 2160pt / 16,
|
||||
fill: gradient.linear(..gae),
|
||||
),
|
||||
))[$lambda f. space
|
||||
(lambda x. space f space (x space x)) space
|
||||
(lambda x. space f space (x space x))$]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue