No description
- Typst 81.1%
- Nix 15.6%
- Shell 3.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| AGENTS.md | ||
| bail-template.typ | ||
| bail-variables.typ | ||
| bail-variables.yaml | ||
| build.sh | ||
| caution-template.typ | ||
| document-style.typ | ||
| etat-lieux-template.typ | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Bail Template
Typst template for generating a French furnished lease (bail d'habitation meuble).
It also includes the matching guarantor deed (acte de cautionnement).
The repo also contains an état des lieux template.
Usage
From the repository root:
./build.sh
This builds all PDFs directly without Nix.
nix run
This builds all PDFs:
tmp/bail-template.pdftmp/caution-template.pdftmp/etat-lieux-template.pdf
nix run .#caution
This builds the guarantor deed at tmp/caution-template.pdf.
nix run .#etat-lieux
This builds the état des lieux at tmp/etat-lieux-template.pdf.
Other Nix Commands
nix build
Builds all PDFs as a Nix store artifact.
nix build .#caution
Builds the guarantor deed as a Nix store artifact.
nix build .#etat-lieux
Builds the état des lieux as a Nix store artifact.
nix develop
Opens a shell with typst available.
Editing Data
Lease-specific values live in bail-variables.yaml.
The current variable model matches the old Markdown template and is centered around:
locatairescautionnaireslogement_caracteristiquesloyerdebut_baildate_revisionirl_cautionloyer_anneeloyer_annee_strloyer_hors_chargesloyer_strchargesirl_referenceetat_lieux