diff --git a/.envrc b/.envrc
index 56451c1a99b85f5058a7c8a7240a5bf9d2327906..952ec2f84607a15812904eb6b1da8e3ff4cd58db 100644
--- a/.envrc
+++ b/.envrc
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
+dotenv_if_exists
+
 use flake ".#${DIRENV_DEVSHELL:-default}"
 
 PATH_add bin
-
-dotenv_if_exists