{"id":30548626,"url":"https://github.com/linuxmobile/flutter-flake-template","last_synced_at":"2025-08-28T03:45:25.824Z","repository":{"id":295908385,"uuid":"985965053","full_name":"linuxmobile/flutter-flake-template","owner":"linuxmobile","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-18T22:08:46.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T04:55:55.822Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linuxmobile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-18T22:08:25.000Z","updated_at":"2025-05-18T22:08:49.000Z","dependencies_parsed_at":"2025-05-28T02:13:00.488Z","dependency_job_id":"7ed6c641-a34e-4c36-803b-138fc5bfd628","html_url":"https://github.com/linuxmobile/flutter-flake-template","commit_stats":null,"previous_names":["linuxmobile/flutter-flake-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/linuxmobile/flutter-flake-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxmobile%2Fflutter-flake-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxmobile%2Fflutter-flake-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxmobile%2Fflutter-flake-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxmobile%2Fflutter-flake-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linuxmobile","download_url":"https://codeload.github.com/linuxmobile/flutter-flake-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxmobile%2Fflutter-flake-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272432525,"owners_count":24934241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-28T03:45:23.575Z","updated_at":"2025-08-28T03:45:25.798Z","avatar_url":"https://github.com/linuxmobile.png","language":"Nix","readme":"# Flutter Development Environment\n\nA simple Nix setup for Flutter development with Android testing options.\n\n## Key Features\n\n- Flutter and Dart SDK development environment\n- Android SDK with build tools\n- Two options for testing Android apps:\n  - Standard Android Emulator (using `default.nix`)\n  - Waydroid for native Wayland support (using `flake.nix`)\n\n## Quick Start\n\n### Method 1: Android Emulator (recommended for most cases)\n\n```bash\n# Build and run the emulator\nnix-build default.nix\n./result/bin/run-test-emulator\n```\n\n### Method 2: Flutter + Waydroid (for Wayland environments)\n\n```bash\n# Setup in NixOS configuration.nix\nvirtualisation.waydroid.enable = true;\n\n# Enter development environment\nnix develop\n\n# Start Waydroid\nsudo waydroid init -s GAPPS -f\nsudo systemctl start waydroid-container\nwaydroid session start\nwaydroid show-full-ui\n```\n\n## Flutter Workflow\n\n```bash\n# Create new project\nflutter create my_app\ncd my_app\n\n# Build your app\nflutter build apk\n\n# Install on Android Emulator\nadb install build/app/outputs/flutter-apk/app-release.apk\n\n# Or install on Waydroid\nwaydroid app install build/app/outputs/flutter-apk/app-release.apk\n```\n\n## Troubleshooting\n\n### Android Emulator Issues\n\nIf you have problems with the emulator:\n\n- Try with `JDK8` instead of `JDK17` if the AVD manager fails\n- Ensure KVM is enabled: `sudo modprobe kvm`\n- Check virtualization is enabled in BIOS/UEFI\n\n### Waydroid Issues\n\nFor GPU performance problems:\n\n```bash\necho \"ro.hardware.gralloc=default\nro.hardware.egl=swiftshader\" | sudo tee -a /var/lib/waydroid/waydroid_base.prop\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxmobile%2Fflutter-flake-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuxmobile%2Fflutter-flake-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxmobile%2Fflutter-flake-template/lists"}