Help me understand the project a bit better?
are you gonna use dioxus or tauri or both?
Dioxus is just going to be for the GUI component. There will also be a CLI component.
To begin with, I want to address two use cases for the CLI:
flakreate
proposal with RobertH)Somewhat tangential: https://github.com/water-sucks/nixos
ah yes, the CEO feature makes sense. How would you want to implement that? I'll check out the flakreate proposal.
Where do I find flakreate?
Andreas said:
Where do I find flakreate?
https://github.com/flake-parts/templates/issues/7
https://github.com/juspay/flakreate
ah so nix flake init
with parameters
It probably won't be parameters, but generators as Robert ideated.
What would that mean for a CLI?
ah so no templates... hm
The CLI would maintain a registry, run nix flake init
and then run the generator to 'complete' it. Something like that.
okay, I see. But the generator isn't there yet, right?
om init --stack=haskell
om init --stack=haskell --stack=treefmt --stack-pre-commit-hooks
okay so it would generate a flake for a haskell project with treefmt and pre-commit-hooks I suppose?
You are asking questions too early. But I'll post PRs and stuff here over time.
You are asking questions too early.
And I always thought that was your approach! :rolling_on_the_floor_laughing:
yeah but once you actually have something to do there, I might be interested in taking a look!
My approach is certainly not to design everything up front, write it down, etc.
mine neither, so where shall we go first with omnix?
DM'ed you
Initial priority:
https://github.com/juspay/omnix/issues/140
Perhaps I should start adopting a RFC workflow here.
yeah maybe
so first step is to implement initialization of a flake from templates?
In particular, first demo would be initializing this home-manager template:
https://github.com/juspay/nix-dev-home/pull/41
Automatically fixing https://github.com/juspay/nix-dev-home/issues/37 in the process
You mean the existing nix-dev-home
or what you want to do in that PR?
One should be able to om init home-manager
on any WSL, Ubuntu or macOS machine and get going.
(Similar to nix run github:juspay/flakreate
- which can you run today)
Last updated: Nov 21 2024 at 09:45 UTC