We can only do this now that every profile has been migrated, otherwise
we would get errors about undeclared modules... It's not perfect, but
it's good enough.
This is only done for `type == "nixos"` for now, as I don't have any
Darwin configurations...