diff --git a/.idx/dev.nix b/.idx/dev.nix new file mode 100644 index 0000000..da09f27 --- /dev/null +++ b/.idx/dev.nix @@ -0,0 +1,42 @@ +{pkgs}: { + channel = "stable-23.11"; + packages = [ + pkgs.nodePackages.firebase-tools + pkgs.jdk17 + pkgs.unzip + ]; + idx.extensions = [ + "Dart-Code.dart-code" + "Dart-Code.flutter" + ]; + idx.previews = { + previews = { + web = { + command = [ + "flutter" + "run" + "--machine" + "-d" + "web-server" + "--web-hostname" + "0.0.0.0" + "--web-port" + "$PORT" + ]; + manager = "flutter"; + }; + android = { + command = [ + "flutter" + "run" + "--machine" + "-d" + "android" + "-d" + "emulator-5554" + ]; + manager = "flutter"; + }; + }; + }; +} \ No newline at end of file