Is it possible this is connected to Ignoring the devshell environment (this is a major issue for nix) ?
In short: It seems like cursor only inherits variables from the first terminal it’s opened in, subsequent windows launched from different terminals wont inherit those terminals’ variables.