diff --git a/.forgejo/workflows/flake.yaml b/.forgejo/workflows/flake.yaml
new file mode 100644
index 0000000..8bddb8d
--- /dev/null
+++ b/.forgejo/workflows/flake.yaml
@@ -0,0 +1,14 @@
+name: Flake Test
+on:
+  push:
+    branches:
+      - main
+jobs:
+  check:
+    runs-on: self-hosted
+    steps:
+      - uses: actions/checkout@v3
+      - name: Run `nix flake show`
+        run: nix flake show
+      - name: Run `nix flake check`
+        run: nix flake check