At this rate, they should add your channel to the list of documentation resources. Thanks for this!
@Xorume. Жыл бұрын
The censored rust logo lol
@vimjoyer Жыл бұрын
The Rust foundation should not see that I recolored it
@Xorume. Жыл бұрын
@@vimjoyer You mean the (Rust™ Foundation™)™?
@Rundik9 ай бұрын
@@vimjoyerjust use crablang
@Danielo5154 күн бұрын
How do you know that it is the rust logo?
@technorazor976 Жыл бұрын
I've been needing exactly this and struggled to find resources on it. You've quickly become one of my favorite programming KZbinrs -- informative and straight to the point. Thank you!
@vimjoyer Жыл бұрын
Thanks
@vimjoyer Жыл бұрын
Hope you enjoy this video!
@lamprospitsillou6325 Жыл бұрын
I just love how you go above and beyond in these videos, helping us understand nix on a dipper level !
@faccc Жыл бұрын
I'm really grateful for your content. There's not much documentation available, but yours is incredibly concise, clear, straight to the point, and it answers any doubts I may have. Keep it up! I truly believe Nix has great potential and is the future. Documentation is the only problem, but you're definitely addressing that. Hats off to you!
@gorudonu Жыл бұрын
this is great! We need more nix content on youtube (and also in general). Thank you!
@minatonamikaze2637 Жыл бұрын
you are so helpful, I just installed nix and you are making things easy for me
@demattejoao8 ай бұрын
oh man that was exactly what i was looking for!! thank you so much
@akibahmed229 Жыл бұрын
Thank you; it was helpful in setting up my development environment.
@papanito480211 ай бұрын
Your videos are every nicely done, easy to follow and understand. great job
@NeonGrillz11 ай бұрын
First off, great content! Love your videos and they help me enormously with my journey into Nix. Secondly, should I use Flakes to "clone" my Git repos (via inputs) or should I clone/fetch them manually first and then switch into my dev environment? It would be super convenient to just do it with a single Flake and update with 'nix flake update --update-input my-repo-input'. Also, please make a video on how to handle multiple Git accounts on NixOS and how to switch between them! Like if you have one for personal projects and one for work.
@bonsairobo4 ай бұрын
The hardest thing for me to learn was the difference between packages, nativeBuildInputs, buildInputs, etc.
@hotdog2c Жыл бұрын
Incredible informative!
@zperk137 ай бұрын
2:18 wouldn't that break if the user has never installed lolcat before? Or does doing the pkgs. thing bring it in from the NixOS online repository? Why doesn't it need to be defined as a build input or something? If it pulls it from online, when does it do the download? Before all the other stuff? Or when it's needed? Because if it does it when it's needed, it'll look like welcome Installing lolcat Whatever nix says when installing stuff to my shell! Which is clearly not the intended effect. Also if it's not in the buildinputs, does it still get put in the flake.lock?
@vimjoyer7 ай бұрын
It would not break. The packge interpolation evaluates the lolcat derivation, adding it to your shell dependencies. It will get downloaded after the nix code is evaluated, meaning that if you are in a shell, the lolcat is already there.
@zperk137 ай бұрын
yeah, just tested it to answer my questions in order wouldn't that break if the user has never installed lolcat before? no Or does doing the pkgs. thing bring it in from the NixOS online repository? yes Why doesn't it need to be defined as a build input or something? It's smart enough to figure it out If it pulls it from online, when does it do the download? Before all the other stuff. It doesn't create the example of an unintended output I made Also if it's not in the buildInputs, does it still get put in the flake.lock? Looks like the flake.lock just defines the git revision, so everything shares that (though I saw in another video you can get around that)
@yash11524 ай бұрын
3:10 _"feel free to check out "the" flake video on channel"_ and he has got 3-4 videos with similar title on flake 🙄 which do not seem to be even put in a particular order in the playlist
@yash11524 ай бұрын
* Nix flakes explained * Ultimate NixOS Guide | Flakes | Home-manager * Move your NixOS into a Flake! * Ultimate Nix Flakes Guide
@vimjoyer4 ай бұрын
I didn't want to reference a specific video back then because I didn't really like them. As of today, I'd suggest watching the Ultimate guide one.
@yash11524 ай бұрын
@@vimjoyer thanks a lot for replying. yeah, i also figured out that the ultimate one is just 3 weeks old, so might be containing the info u deemed best and accumulated over the period since then :) > _"As of today, I'd suggest watching the Ultimate guide one."_
@bawahtanah4705 Жыл бұрын
bro, u just save my life :),
@keremcemerturk336 Жыл бұрын
Can you also cover about neovim with NixOS🥺
@vimjoyer Жыл бұрын
Sure, that's one of the videos in my to-do list
@minatonamikaze2637 Жыл бұрын
I use helix btw
@MWLaboratories3 ай бұрын
how would we add npm stuff that isn't in the nix store like vite/vue?
@dillon4248 Жыл бұрын
Do you have an opinion about using the "flak-parts" utilities with nix flakes? Makes a lot of sense to break the home-manager flake up
@vimjoyer Жыл бұрын
I don't necessarily have a strong opinion on whether you should or should not use it, but I want to make a video about flake-parts in the future for those who want to.
@dillon4248 Жыл бұрын
Definitely tuning in to that one!
@bebbuinc7611Ай бұрын
Hi, what about when you already have a nix configuration existed and want to try the dev env? Do you add the mkShell package inside the modules?
@vimjoyerАй бұрын
You can have as many flakes as you want, so just create some new directory and create a dev env there. Alternatively, you can add your devenv as another input of your primary flake, or even create a separate shell.nix w/o a flake somewhere.
@SantiagoFraire Жыл бұрын
Amazing video, thank you! Could you do a video about secrets management? how to get started with agenix or sops-nix. Thanks!
@vimjoyer Жыл бұрын
Maybe
@MiaLovesRod Жыл бұрын
LETS GOO
@simonlauer93799 ай бұрын
Is it possible to set an environmental variable that sets SHELL to zsh? Haven’t found a good way yet. Use it with nix-shell and python poetry 🎉
@vimjoyer9 ай бұрын
you can use `--command ` with nix-shell and `-c ` with nix develop
@tomjuri8 ай бұрын
How would you use that for graphical ide's like jetbrains ide's though? You could enable the nix shell in the builtin terminal and run your commands in that, but what if you need to use some other feature not available in the terminal?
@vimjoyer8 ай бұрын
Just launch the jetbrains ide from the shell
@korigamik Жыл бұрын
what editing software do you use? How do you add voiceover on the presentation? and what's the presentation software?
@vimjoyer Жыл бұрын
I am currently using "motion canvas", but this video was made with blender video editor + personal imagemagick scripts.
@jarosawszyc82879 ай бұрын
Amazing stuff
@Dwarf_Software4 ай бұрын
Why "nix shell nixpkgs#python3" and not "nix develop" on the flake part ?
@thepaulcraft957 Жыл бұрын
0:42 typo
@vimjoyer Жыл бұрын
*crying pepe fLog*
@thepaulcraft957 Жыл бұрын
@@vimjoyer 😂
@solomonogu1393 Жыл бұрын
i prefrer and use devenv + direnv this combo is superb
@WhiterockFTP Жыл бұрын
what is devenv all about? I see it‘s built upon nix-shell. A video about that would be amazing
@solomonogu1393 Жыл бұрын
@WhiterockFTP devenv is nix-shell on steroids So basically, as a developer, i can set up what i need for each project without installing it directly on my machine Now imagine a project requiring node 14 and then your other package needs 18 and the rest you can basically have a specific version of node etc for each project etc (yes nvm) but its its way better because same can be done for php etc also database tools etc Let's say you need an environment where you need a special environment, let's say, for your video work And don't want to install them permanently You can create a folder and setup devenv and thats all no need to be typing nix shell -p and yes state is stored meaning on kill the process when you come back your previous state still exists but you can clear it if you want
@strandingstranger Жыл бұрын
i've tried looking everywhere, but no success in finding any info. please tell me, what's the difference between nix develop and devenv? just "simpler" configuration?