Nix - The Best Package Manager

147,235
0
Published 2023-01-28
In this video I discuss the Nix package manager and why it's the best package manager on *Nix based operating systems.

₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿

Monero
45F2bNHVcRzXVBsvZ5giyvKGAgm6LFhMsjUUVPTEtdgJJ5SNyxzSNUmFSBR5qCCWLpjiUjYMkmZoX9b3cChNjvxR7kvh436

Bitcoin
3MMKHXPQrGHEsmdHaAGD59FWhKFGeUsAxV

Ethereum
0xeA4DA3F9BAb091Eb86921CA6E41712438f4E5079

Litecoin
MBfrxLJMuw26hbVi2MjCVDFkkExz8rYvUF

Dash
Xh9PXPEy5RoLJgFDGYCDjrbXdjshMaYerz

Zcash
t1aWtU5SBpxuUWBSwDKy4gTkT2T1ZwtFvrr

Chainlink
0x0f7f21D267d2C9dbae17fd8c20012eFEA3678F14

Bitcoin Cash
qz2st00dtu9e79zrq5wshsgaxsjw299n7c69th8ryp

Etherum Classic
0xeA641e59913960f578ad39A6B4d02051A5556BfC

USD Coin
0x0B045f743A693b225630862a3464B52fefE79FdB

Subscribe to my YouTube channel goo.gl/9U10Wz
and be sure to click that notification bell so you know when new videos are rel

All Comments (21)
  • the best part is that for NixOS you can make a flake in which you can declare your entire system configuration including filesystems, environment variables, what shell to use, dotfiles and more. then you can take it further and have multiple outputs in a flake, one for each machine you use!
  • @Redyf
    The best thing i've ever did was switching from arch to NixOS, it's so good. Pretty hard to get used to it at first tho but now i managed to setup a hyprland + nvidia config for my dev environment
  • Been using NixOS for about 9 years. Love it. I use it at work, I have since ported it to an ereader, game console, Chromebooks, etc. I use it for absolutely everything.
  • @zyansheep
    I never thought I'd see the day my favorite Linux YouTuber reviews my favorite package manager :)
  • @X8551516
    Other than their repo, the OS itself is also pretty cool. The ability to literally save your entire system to a text file is absurdly powerful, but the thing that prevents me from using their OS is doing anything relating to system settings like bypassing the need for authentication or passwords is an absolute nightmare.
  • Don't take this the wrong way, I generally like what you do, I usually learn something new, but I was expecting a comparison against other package managers (explaining what it does better, what others cant do), instead I saw a video of a man installing a package manager, installing librewolf and searching for some other packages. Maybe there was some of the former, but the later seemed to take the most time.
  • Nix is a very casual way to homebrew your Mac without using homebrew because Most apple engineers will not repair your device if it has homebrew or cydia on it, however nix is less known and can fly under the radar
  • @yavko
    Been waiting for someone to make a video on Nix! I've been loving nix, and it's amazing. With home-manager and NixOS i can have my whole configured in one place.
  • Nix is amazing. I'm one of the contributors and I maintain the Lens package. I'm coming out with the Flutter Engine being packaged. I've had a lot of experience with it and yeah, there's a huge learning curve but it's very powerful.
  • Thank you so much for this video! I've been struggling for a while with trying to use Arch with the AUR, but it always seemed to break on me. I really liked using Debian, but the lack of packages made it difficult for me to use it for my needs. I'm now able to combine the stability of Debian with the packages that I need. Thanks again for sharing this information, it's a lifesaver!
  • @hidekxyz
    Nix could be used to switch GNU Stow, since it handles dotfiles nicely with the home-manager project. Also, having one tool to install all other tools, runtimes, apps and services in a isolated and reproducible way is too good.
  • @starlederer
    I see that you are pretty new to Nix. You have a lot of nice things yet to discover but here are some that really stood out to me in the video: * You are using Nix, the package manager, not NixOS (you sometimes to use the names interchangeably). * 5:09 flakes serve a completely different purpose. They are kind of the new way to write nix configs. * 5:57 those are not really "instructions". Those things are exactly the same all the time and just list some of the options how you can get the package. * 6:04 nix-env is imperative, you might want to look into declarative configs using home-manager or flakes.
  • another thing that's cool about nix/nixOS is the overrides. You can change many things of a package's/derivation's definition, similar to USE flags sometimes (if provided by the packager, but you can define stuff like that too), but also being to change whatever of the package! Adding patches, removing them, changing sources, changing commands of the build process... That said, nix/nixos has its fair share of issues *sometimes*, you might come across stuff that doenst work right, but that's fairly rare.
  • People never talk about how much package managers are a huge barrier for new linux users. I used to think you needed programs to be make specifically for Ubuntu or Arch and if they weren't in the repos then you were just screwed. It really hindered my progress a lot and made me want to go back to windows where I could just find the programs I needed online
  • I am so excited to see you did a Nix video!!! Coincidentally, I have to present about Nix at my job later this month.
  • @voigondev
    A solid, professional and through video, just like all of the others thank you for your content!
  • @baguettedad
    Oh man it's 23:43 right now, but the video being about the nix paclage manger makes me interested. Will watch it once I wake up early tomorrow before workout!
  • @iskamag
    There is also Guix, loosely based on Nix, but uses Lisp, and is overall much cleaner and more declarative. I've used it for months, and it's super comfy for many tasks. It's also highly bootstrappable, removing the problem of "Reflections on Trusting Trust"
  • @yahyae420
    I just discovered this channel. This is amazing
  • @VinnyMeller
    you're always making videos as soon as i start looking into something started toying with nix and then nixos in a vm for the last week and here you go publishing a video about it