what was i doing?
This commit is contained in:
parent
b1920c38f0
commit
d75017a8a5
2
nix/.gitignore
vendored
Normal file
2
nix/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
result
|
||||||
|
result-*
|
15
nix/aarch64_be.nix
Normal file
15
nix/aarch64_be.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
let
|
||||||
|
flake = builtins.getFlake (toString ./..);
|
||||||
|
nixpkgs = flake.inputs.nixpkgs;
|
||||||
|
lib = nixpkgs.lib;
|
||||||
|
system = lib.nixosSystem {
|
||||||
|
modules = [
|
||||||
|
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64-new-kernel-no-zfs-installer.nix"
|
||||||
|
{
|
||||||
|
nixpkgs.hostPlatform.config = "aarch64_be-unknown-linux-gnu";
|
||||||
|
nixpkgs.buildPlatform.system = "x86_64-linux";
|
||||||
|
nixpkgs.config.allowUnsupportedSystem = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in system.config.system.build.sdImage
|
29
typst/labels.typ
Normal file
29
typst/labels.typ
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#{
|
||||||
|
set page(width: 3.5in, height: 1.125in, margin: 0em)
|
||||||
|
set par(leading: 0.2em)
|
||||||
|
|
||||||
|
let labels(contents) = {
|
||||||
|
for (idx, content) in contents.enumerate() {
|
||||||
|
if idx != 0 {
|
||||||
|
pagebreak()
|
||||||
|
}
|
||||||
|
place(
|
||||||
|
top + left,
|
||||||
|
dx: 12mm,
|
||||||
|
dy: 0in,
|
||||||
|
block(
|
||||||
|
width: 3.5in - 12mm,
|
||||||
|
height: 1in,
|
||||||
|
align(
|
||||||
|
center + horizon,
|
||||||
|
text(
|
||||||
|
font: "Bahnschrift",
|
||||||
|
size: 70pt,
|
||||||
|
content + "Ω"))))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
labels((
|
||||||
|
"82", "27k"
|
||||||
|
))
|
||||||
|
}
|
Loading…
Reference in a new issue