Is Nix Your New Terminal SUPERPOWER?

preview_player
Показать описание
Or, use `DEVOPSTOOLBOX` code when checking out!

---

Nix maybe most known as an operating system but it's also the largest package manager to date. In this video I'm exploring Nix basics, terminology, modern ways of doing things, and why everyone are going crazy of it!

Ways to support this channel:

LINKS

⏱ Timestamps
00:00 - Intro
00:52 - What is it
01:47 - Installing a package
03:50 - One off shells
05:20 - Modern Nix
08:00 - Hostinger
09:00 - Flakes
13:33 - NixOS

#nix #nixos #nixpkgs #neovim #vim #nvim #tmux #terminal #config #dev #devops #software #development
Рекомендации по теме
Комментарии
Автор

Or, use `DEVOPSTOOLBOX` code when checking out!

devopstoolbox
Автор

I transitioned from MacOS to NixOS a few months ago and I'm loving it. I use it for both private and professional use (as a developer). The combination of NixOS, flakes and home-manager is awesome. Yes there is a steep learning curve but to be able to declaratively manage your system outweighs the lenrning curve. Now I can have identical setup on my laptop and desktop pc and even a part of it on my MacBook. Since you can rollback from any update, i can use the unstable version without any fear of breaking my system 😅

Julien-rcbi
Автор

I went down the rabbit hole as well. But you should learn the nix language FIRST. It will demystify a lot of the config as a language style. It comes down to this: I want the same setup on every machine I work on. My job is to ship development environments to other devs as well, so this rabbit hole is worth it. I have seen companies using Nix for this reason as well.

rujn
Автор

NixOS seems like a rabbit hole, but Nix itself on top of another system looks really interesting. I think using it for servers looks to be something really valuable.

opposite
Автор

Yeah, yeah, nixos is a rabbit hole, we all know at this point, now please create a playlist for Nix stuff and upload more tutorials about flakes and configs for neovim, shell, etc, etc, etc, etc, etc, etc, etc. We need that stuff please!

eduardabramovich
Автор

Had heard about nix a few times before but never really knew it what it was and now that I know it i want to try and already trying to port my raw shell script files to nix. Thanks for the video :)

SahilRawat-hh
Автор

Graph you used is heavily outdated. See repology, where the graph was originated from. Nixpkgs have more packages than the AUR, and they are also way fresher. FThe official nix unstable channel package json, reports 117345 packages.

edhyjoxenbyl
Автор

Top quality content, as always! Thank you!

Автор

I would say be careful don’t dive too deep into the nixos rabbit hole. Because you might end up trying to make everything “pure” but this really has no end to it

mingsumsze
Автор

I love devbox with direnv, it's amazing to not polute my entire system with project related tools.

Also the version managment is so easy.

Only some flakes/packages do not compile on silicon.

rwz
Автор

Initial overhead of a nixos system can be alot. But if you structure it well (easier said than done). It's rather cumbersome.

emilnordgard
Автор

Man thanks for this video, I haven't gotten into Nix at all, but it looks awesome. I had to manually build some packages for a fresh ubuntu install the other day and this looks like it could've made it funner to do (I explicitly didn't mention saving time because it looks like I'm going to be spending a lot of it getting up to speeed, heh)

driden
Автор

I spent 2 hours today trying to build a package in nix and it never worked. Best 2 hours of my day, while also hating myself.

mvaldes
Автор

Great video. I was lost most of the time. Looks like the potential of Nix ecosystem is immense. But I quickly gave up after an hour of reading documentation, especially the crazy Nix language.

iatheman
Автор

YAY! I think this was a great intro to Nix. ❄

xorlop
Автор

I was hoping flakes would be a simple toggle in the installer by now.

Ideally I'd, make the first thing the installer presents to the user an option to select a github repo so they can use or clone a systemConfig

adrianscarlett
Автор

In English, all the words that start with "giga-" start with a hard "g" sound. So, the first syllable is "gi" as in "give", not like "gin". It's not obvious to a non-native speaker.

wadecurry
Автор

This is my own opinion, but I believe the true power of Nix flakes is only shown when used with NixOS. I'm new to Nix, after migrating from Arch, and I found the nix language quite hard, but after around 2 weeks, it became quite simple. I still don't understand most of what you've shown in the video, but modern nix flakes for NixOS systems has changed a lot over the years and has become quite simpler than nix over other distros.

ViCantWin
Автор

I would argue that Nix is a functional language rather than a DSL, but great vid, appreciate going back to the old style of vids, and looking forward to more nix content cheers!

noomondai
Автор

Clicked the like and subscribe, with the bell icon, but my nix config still does not work. What did I do wrong?

Danielo