can be written as YAML as well (see below). This has the benefit of not needing to evaluate the whole flake just to get the omnix config. This would then make om develop faster.
We may still have to support Nix-based config (but that piggyback on YAML using builtins.fromYAML) for cases where we evaluate a non-local flake (even then we can catch the flake in local nix store before looking up YAML, falling back to Nix eval).
Blocked on #341 (after which doing this should be straightforward).
This would mitigate #339
Our entire omnix configuration (
om.nix
), https://github.com/juspay/omnix/blob/main/nix/modules/flake-parts/om.nixcan be written as YAML as well (see below). This has the benefit of not needing to evaluate the whole flake just to get the omnix config. This would then make
om develop
faster.We may still have to support Nix-based config (but that piggyback on YAML using
builtins.fromYAML
) for cases where we evaluate a non-local flake (even then we can catch the flake in local nix store before looking up YAML, falling back to Nix eval).Blocked on #341 (after which doing this should be straightforward).