this post was submitted on 17 Nov 2023
3 points (100.0% liked)

Nix

1 readers
1 users here now

founded 1 year ago
MODERATORS
 

Hello, hope your all well?

So I'm about to install NixOS on my primary workstation. I've been tinkering on an old laptop, learning flakes, getting to grips with home-manager and the nix commands especially garbage collection.

So the configuration.nix I've created on my laptop, isn't all the tooling I'll use on my workstation and honestly, I can remember half the stuff I've installed or tools I install along the way.

So here is my actual question is there anything like a nix config generator, where I can cherry pick apps, services and utilities?

you are viewing a single comment's thread
view the rest of the comments
[–] art2266@alien.top 1 points 11 months ago (2 children)

Correct me if I'm wrong. So you're worried about not being able to recall the names of all the tools you will need, at a time when you are about to install nixOS on your main workstation?

If there was ever an OS in existence where it doesn't matter that you remember everything from the get go or that you need to do things "in the correct order" lest you you mess something up, it's nixOS.

 

That being said, you can use the following search pages to cherry pick to your heart's content:

  • nixOS modules search: link
  • homemanager modules search: link

And if you find something interesting but you're unsure exactly how to use it, search for it like so.

[–] zxjk-io@alien.top 1 points 11 months ago (1 children)

It's not NixOS I'm bothered about, it's all the stuff I've installed on Arch over the last few years - like yq, I use it once in a blue moon.

The main reason I'm switching to NixOS is that it has configuration.nix , flakes and home-manager. Put it like this a while back I struggled to get wasm containers working in docker, I did a lot of faffing including g I stalling extra binfmt's different wasm runtime, only to realise that wasm wasn't available in the version of docker I was using, so I installed beta, broke a whole load of stuff.

My core use case is if I break stuff then I can go back a gen or two. Which is what I've been trying out on an old spare laptop.

I'm pretty much upto speed on searching stable and u stable packages and option but thank anyway

[–] thecatwasnot@alien.top 1 points 11 months ago

Are you keeping nix config in git? Between generations and source control you should be covered.