diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index 60f61e5..493344b 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -2,6 +2,10 @@ name: "Test"
 on:
   pull_request:
   push:
+
+env:
+  NIX_CONFIG: "accept-flake-config = true"
+
 jobs:
   tests:
     runs-on: native
@@ -11,7 +15,7 @@ jobs:
       #   with:
       #     name: felschr
       #     authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
-      - run: nix flake check --accept-flake-config
+      - run: nix flake check
         continue-on-error: true
       - run: nix build .#brlaser
       - run: nix build .#deconz