Nix Dev Environments | Declare Your Coding Projects

  Рет қаралды 44,333

Vimjoyer

Vimjoyer

Күн бұрын

Пікірлер: 60
@dillon4248
@dillon4248 Жыл бұрын
At this rate, they should add your channel to the list of documentation resources. Thanks for this!
@Xorume.
@Xorume. Жыл бұрын
The censored rust logo lol
@vimjoyer
@vimjoyer Жыл бұрын
The Rust foundation should not see that I recolored it
@Xorume.
@Xorume. Жыл бұрын
@@vimjoyer You mean the (Rust™ Foundation™)™?
@Rundik
@Rundik 9 ай бұрын
​@@vimjoyerjust use crablang
@Danielo515
@Danielo515 4 күн бұрын
How do you know that it is the rust logo?
@technorazor976
@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
@vimjoyer Жыл бұрын
Thanks
@vimjoyer
@vimjoyer Жыл бұрын
Hope you enjoy this video!
@lamprospitsillou6325
@lamprospitsillou6325 Жыл бұрын
I just love how you go above and beyond in these videos, helping us understand nix on a dipper level !
@faccc
@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
@gorudonu Жыл бұрын
this is great! We need more nix content on youtube (and also in general). Thank you!
@minatonamikaze2637
@minatonamikaze2637 Жыл бұрын
you are so helpful, I just installed nix and you are making things easy for me
@demattejoao
@demattejoao 8 ай бұрын
oh man that was exactly what i was looking for!! thank you so much
@akibahmed229
@akibahmed229 Жыл бұрын
Thank you; it was helpful in setting up my development environment.
@papanito4802
@papanito4802 11 ай бұрын
Your videos are every nicely done, easy to follow and understand. great job
@NeonGrillz
@NeonGrillz 11 ай бұрын
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.
@bonsairobo
@bonsairobo 4 ай бұрын
The hardest thing for me to learn was the difference between packages, nativeBuildInputs, buildInputs, etc.
@hotdog2c
@hotdog2c Жыл бұрын
Incredible informative!
@zperk13
@zperk13 7 ай бұрын
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?
@vimjoyer
@vimjoyer 7 ай бұрын
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.
@zperk13
@zperk13 7 ай бұрын
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)
@yash1152
@yash1152 4 ай бұрын
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
@yash1152
@yash1152 4 ай бұрын
* Nix flakes explained * Ultimate NixOS Guide | Flakes | Home-manager * Move your NixOS into a Flake! * Ultimate Nix Flakes Guide
@vimjoyer
@vimjoyer 4 ай бұрын
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.
@yash1152
@yash1152 4 ай бұрын
@@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
@bawahtanah4705 Жыл бұрын
bro, u just save my life :),
@keremcemerturk336
@keremcemerturk336 Жыл бұрын
Can you also cover about neovim with NixOS🥺
@vimjoyer
@vimjoyer Жыл бұрын
Sure, that's one of the videos in my to-do list
@minatonamikaze2637
@minatonamikaze2637 Жыл бұрын
I use helix btw
@MWLaboratories
@MWLaboratories 3 ай бұрын
how would we add npm stuff that isn't in the nix store like vite/vue?
@dillon4248
@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
@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
@dillon4248 Жыл бұрын
Definitely tuning in to that one!
@bebbuinc7611
@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
@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
@SantiagoFraire Жыл бұрын
Amazing video, thank you! Could you do a video about secrets management? how to get started with agenix or sops-nix. Thanks!
@vimjoyer
@vimjoyer Жыл бұрын
Maybe
@MiaLovesRod
@MiaLovesRod Жыл бұрын
LETS GOO
@simonlauer9379
@simonlauer9379 9 ай бұрын
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 🎉
@vimjoyer
@vimjoyer 9 ай бұрын
you can use `--command ` with nix-shell and `-c ` with nix develop
@tomjuri
@tomjuri 8 ай бұрын
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?
@vimjoyer
@vimjoyer 8 ай бұрын
Just launch the jetbrains ide from the shell
@korigamik
@korigamik Жыл бұрын
what editing software do you use? How do you add voiceover on the presentation? and what's the presentation software?
@vimjoyer
@vimjoyer Жыл бұрын
I am currently using "motion canvas", but this video was made with blender video editor + personal imagemagick scripts.
@jarosawszyc8287
@jarosawszyc8287 9 ай бұрын
Amazing stuff
@Dwarf_Software
@Dwarf_Software 4 ай бұрын
Why "nix shell nixpkgs#python3" and not "nix develop" on the flake part ?
@thepaulcraft957
@thepaulcraft957 Жыл бұрын
0:42 typo
@vimjoyer
@vimjoyer Жыл бұрын
*crying pepe fLog*
@thepaulcraft957
@thepaulcraft957 Жыл бұрын
@@vimjoyer 😂
@solomonogu1393
@solomonogu1393 Жыл бұрын
i prefrer and use devenv + direnv this combo is superb
@WhiterockFTP
@WhiterockFTP Жыл бұрын
what is devenv all about? I see it‘s built upon nix-shell. A video about that would be amazing
@solomonogu1393
@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
@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?
@pkoch
@pkoch Жыл бұрын
Weclome! :D
@Redyf
@Redyf Жыл бұрын
Nice video bro 😄
Using Nix to Declare Your Browser!
3:51
Vimjoyer
Рет қаралды 23 М.
Best Way To Manage Project Dependencies | Nix Shells
10:45
Vimjoyer
Рет қаралды 18 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Nix for Everyone: Unleash Devbox for Simplified Development
20:16
DevOps Toolkit
Рет қаралды 18 М.
Ultimate Nix Flakes Guide
17:08
Vimjoyer
Рет қаралды 34 М.
If you're not developing with this, you're wasting your time
14:30
Articulated Robotics
Рет қаралды 311 М.
I Used NixOS For 9 Months - Long Term Review
35:54
The Linux Cast
Рет қаралды 65 М.
Say Goodbye to Containers - Ephemeral Environments with Nix Shell
16:58
Nix and NeoVim
13:38
ThePrimeTime
Рет қаралды 160 М.
Nix is my favorite package manager to use on macOS
28:08
Dreams of Autonomy
Рет қаралды 147 М.
NixOS Has One BIG Problem
17:48
The Linux Cast
Рет қаралды 76 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 65 М.
Nix flakes explained
7:22
Vimjoyer
Рет қаралды 87 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19