Hi,
i’m tring to setup my flask environment on IDX. Reading the documentation (and asking to gemini) it seems that I should modify my dev.nix file to add:
services = {
postgresql = {
enable = true;
package = pkgs.postgresql_15; # Or your preferred version
extensions = [ pkgs.postgresql_15.extensions.pgvector ];
};
redis = {
enable = true;
package = pkgs.redis;
};
};
But when I edit and rebuild my environment (or let gemini edit and rebuild it for me) the environment goes to failsafe. Actually, the code editor linter seems to not be willing to accept idx.services.
my packages contains (without failing):
pkgs.python3
pkgs.redis
pkgs.postgresql_15
I tried to switch channel to unstable but it seems to be not working.
Gemini keeps telling me that the syntax is correct, btw.
Thanks