add label

This commit is contained in:
Artemis Tosini 2024-03-22 22:29:45 +00:00
parent 4da7c50f57
commit 3abdf2422f
Signed by: artemist
GPG key ID: EE5227935FE3FF18
5 changed files with 28 additions and 10 deletions

View file

@ -10,11 +10,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1708666625, "lastModified": 1710553836,
"narHash": "sha256-m/hGwXHPhUo7s/uUigA7skxg5B33X8LAOrMznE88zXY=", "narHash": "sha256-iUQ4M7Gy+/By6Z4UAqKY1GFTU4qZLEvOxiJf0IseX00=",
"ref": "refs/heads/canon", "ref": "refs/heads/canon",
"rev": "6c29e57677352cb3bd34ef4ef7665f05760bf057", "rev": "3d6e66d3b921ea19323517e782efd7ed8074a365",
"revCount": 39, "revCount": 42,
"type": "git", "type": "git",
"url": "https://git.mildlyfunctional.gay/artemist/packages.git" "url": "https://git.mildlyfunctional.gay/artemist/packages.git"
}, },
@ -25,11 +25,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1708564076, "lastModified": 1711106783,
"narHash": "sha256-KKkqoxlgx9n3nwST7O2kM8tliDOijiSSNaWuSkiozdQ=", "narHash": "sha256-PDwAcHahc6hEimyrgGmFdft75gmLrJOZ0txX7lFqq+I=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "98b00b6947a9214381112bdb6f89c25498db4959", "rev": "a3ed7406349a9335cb4c2a71369b697cecd9d351",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -66,11 +66,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1705309234, "lastModified": 1710146030,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -33,6 +33,7 @@
zephyrSrc = null; zephyrSrc = null;
modules = [ ]; modules = [ ];
}; };
devShells.typst = with pkgs; mkShell { packages = [ typst ]; };
formatter = pkgs.nixfmt; formatter = pkgs.nixfmt;
}); });

1
typst/.envrc Normal file
View file

@ -0,0 +1 @@
use flake ..#typst

1
typst/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.pdf

15
typst/label.typ Normal file
View file

@ -0,0 +1,15 @@
#{
set page(width: 3.5in, height: 1.125in, margin: 0em)
set par(leading: 0.2em)
place(
top + left,
dx: 12mm,
dy: 0in,
block(width: 3.5in - 12mm, height: 1in, align(center + horizon, text(font: "P22UndergroundCYBook", size: 20pt)[
Artemis Tosini \
me\@artem.ist \
hostname
]))
)
}