Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt @ 93% for a nixOs FlakeUtils #18

Closed
wants to merge 23 commits into from

Conversation

blaggacao
Copy link
Contributor

@blaggacao blaggacao commented Jan 3, 2021

outdated

@nrdxp First, I thought it would be only fair not only to spill around nice ideas all over the place, but to actually attempt to implement some of it. Then I got stuck with how to model a sensible way of how nrdxp/nixflk imports ./hosts. Then I realized, this is another fixing-things spree of mine lacking of the corresponding underlaying abilities. Then I got frustrated. Now I just want to share how far I got in case it might be useful or a source of inspiration. I still think relying on a higher level abstraction for nixos flakes by sponsorship of this numtide/flalke-utils repo is a future state worth an attempt.

Copy link
Contributor Author

@blaggacao blaggacao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not much, but structure and very few features ...

nixosFlake.nix Show resolved Hide resolved
nixosFlake.nix Outdated Show resolved Hide resolved
nixosFlake.nix Outdated Show resolved Hide resolved
@zimbatm
Copy link
Member

zimbatm commented Jan 4, 2021

Can you add a usage example? If the goal is to find the right direction then the best is to test it out in some semi-realistic scenario.

@nrdxp
Copy link

nrdxp commented Jan 5, 2021

I'll see if I can rebase nixflk off this PR as a usage example. But it'll be a few days before I have the time.

@blaggacao
Copy link
Contributor Author

Thanks, truely! It will bring in your most vetted perspective.

@blaggacao blaggacao changed the title Attempt @ 60% for a nixOs FlakeUtils Attempt @ 90% for a nixOs FlakeUtils Jan 11, 2021
David Arnold added 2 commits January 11, 2021 02:14
@blaggacao
Copy link
Contributor Author

I advanced a little and added an example stub. I think this is slowly getting into the right direction...

@blaggacao blaggacao changed the base branch from master to flatten-tree-system January 12, 2021 01:48
@blaggacao blaggacao force-pushed the da-osFlake branch 2 times, most recently from b997844 to 435894c Compare January 12, 2021 18:09
@blaggacao
Copy link
Contributor Author

@nrdxp In the last two commits, I added a relatively decent way to build sd, iso & netboot derivations for any host.

@blaggacao blaggacao changed the title Attempt @ 90% for a nixOs FlakeUtils Attempt @ 93% for a nixOs FlakeUtils Jan 14, 2021
@blaggacao blaggacao closed this Jun 14, 2021
@blaggacao blaggacao deleted the da-osFlake branch June 14, 2021 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants