diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml
index 5e778ed..bd5f41c 100644
--- a/.forgejo/workflows/build.yml
+++ b/.forgejo/workflows/build.yml
@@ -18,4 +18,4 @@ jobs:
       - uses: https://code.forgejo.org/forgejo/upload-artifact@v4
         with:
           name: CV
-          path: main.pdf
+          path: out
diff --git a/.gitignore b/.gitignore
index 5467d5d..56bec50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
 # typst
-*.pdf
+/out
 
 # Nix
 /result
diff --git a/flake.nix b/flake.nix
index b32f6b2..3ba17f4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,7 +36,8 @@
 
         src = typixLib.cleanTypstSource ./.;
         commonArgs = {
-          typstSource = "main.typ";
+          typstSource = "src/main.typ";
+          typstOutput = "out/main.pdf";
 
           fontPaths = [ ];
 
diff --git a/main.typ b/src/main.typ
similarity index 100%
rename from main.typ
rename to src/main.typ