Setting up Android SDK universally

I’m trying to get flutter to work, and that requires the android sdk. Flutter itself I could add just by adding pkgs.flutter to my home manager packages, but all the resources I can find online about setting up the android sdk in nix are specifically about creating development environments with nix-shell or nix develop. Is it possible to have the sdk in my home manager or system configuration instead? I want to be able to run flutter anywhere and have it work without entering a specific flake/profile/etc. first.