ehllie / ez-configs

A flake-parts module for simple nixos, darwin and home-manager configurations using project directory structure
Mozilla Public License 2.0
59 stars 13 forks source link

support nix-on-droid #5

Open brckd opened 9 months ago

brckd commented 9 months ago

Currently i don't see a way to use ez-configs to load a nix-on-droid config, other than adding it manually to flake-parts. I am aware that nix-on-droid is a pain to work with and has major limitations to the other platforms, but this would make it less of a pain for people like me.

My favorite solution to this would be to add a new ezConfigs.nixOnDroid option that works similar to the other systems. Not sure if nix-on-droid supports standalone Home Manager, so there could be an option to load it using nix-on-droid. I just tried to run standalone Home Manager and there should be no reason that it wouldn't work. Alternatively it would help if generic methods like readModules were exposed to create custom loaders.

I can try to implement any suggested solution.