Getting Started with Nix

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии • 64

  • @TilmanBaumann
    @TilmanBaumann Год назад +33

    One of my favourite channels is not abandoned. What a great day!

  • @itmeurdad
    @itmeurdad Год назад +30

    I've been stubbornly trying to understand nix flakes for probably a year now. This is by far the most concise and clear info I have found. The line by line breakdown for the flake config was incredibly helpful.
    So many tutorials are rushed and lack critical context, but you do a fantastic job of not just explaining what goes where but the even more critical WHY.
    Thank you for this video and I'm hoping to see more of your work in the future!

    • @NOPerative
      @NOPerative Год назад

      Totally agree.
      General > specific > context = [defines] specialization.
      A 5 minute hello world example explains nothing on its own outside of interfacing the flake system and creating a standard, feature-less flake (as an example).
      This guy's vid covers a great deal surrounding thus supporting interaction & maintenance with the technology; definitely one of, if not the, best videos on the subject.

    • @univera1111
      @univera1111 Год назад +1

      I have not watched the video but why nix os why not any other distro

    • @VegascoinVegas
      @VegascoinVegas 6 месяцев назад +1

      @@univera1111 for myself. I want to build a generative artificial intelligence. After I build it then I want to bring in collaborators to train it. I believe nixos is good to set up identical configurations across machines compared to other distros. Therefore, bringing in collaborators who have never wrote a line of code before should be easier. I think building a collaboration platform on nixos machines should be almost as simple as sharing a proven configuration file.

  • @AlanTwoRings
    @AlanTwoRings Год назад +16

    Your videos on LAs and Sigrok got me back into the electronics hobby after a decade of just software engineering. Thanks for the videos, great to see you back!

  • @moradtamer
    @moradtamer Год назад +4

    But when the world needed him most...
    HE RETURNED!

  • @hullinstruments
    @hullinstruments Год назад +9

    I can't believe you're back. I watch through your videos so often the past few years... But had completely forgotten your channel name. So when it popped up in my subscription and I clicked it I was stunned to see your return

    • @hullinstruments
      @hullinstruments Год назад

      Also would love to see some more hardware content from you in the future if you get around to that type of thing again

  • @peredrinovac1677
    @peredrinovac1677 Год назад +3

    A big praise: I stumbled upon NixOS by chance and can't get out of the amazement. I find it the best Linux concept I know so far.

  • @0ChAnTi
    @0ChAnTi Год назад +1

    Jesus, it was yesterday that i checked your channel videos. And was afraid you stopped your channel. And now you release a new video. Could no wait to see it before answering. Good to have you back.

  • @radvilardian740
    @radvilardian740 6 месяцев назад

    Hi sir, new to the channel here, I am currently using debian, because it's a very stable distro, but after watching this, I think I am gonna give nix a try, thank you, and I can watch u all day.

  • @miqueles5783
    @miqueles5783 Год назад +4

    Nice to see you back!

  • @kid-vf4lu
    @kid-vf4lu Год назад +4

    Glad to see you back!
    Great content as always

  • @zcavaleiro
    @zcavaleiro Год назад +1

    Welcome back! Glad to see you sharing good knowledge.

  • @MessedUpHare
    @MessedUpHare Год назад +2

    I too didn't realise this existed... Great explanation, it's always nice to have tools like this in the back of your mind if you hit specific problems.

  • @robdupre
    @robdupre Год назад

    Hi! Hope you're well and glad to see some new content!

  • @OpenSourceBUG
    @OpenSourceBUG Год назад +2

    Happy to see you back 🤗

  • @michaelsmith7739
    @michaelsmith7739 Год назад +2

    Just found an subscribed to the channel for the stuff on Nix. Very well made videos. You do this very well! Looking forward to more Nix stuff!

  • @david_pilling
    @david_pilling Год назад +2

    Love the channel. Surprised to see it back. Watched the entire video, and didn't get it. Seems like another tool from the people who like to make things complicated like cmake. 40 years C programming and I can't grasp cmake. Like others, I'd been thinking about this channel yesterday before the video appeared - premonition is real.

    • @OpenTechLab
      @OpenTechLab  Год назад +3

      CMake is quite a mess, but if you want a portable high-level build language, it still does better than any of the alternatives as far as I am aware. If you use modern targets-based methods it's not so bad.
      The purpose of using Nix and CMake is certainly not about complicating things - rather the opposite. Creating portable reproducible build environments is a hard problem and Nix's approach, although somewhat unusual, allows it to do the right thing in cases where other systems would struggle.

  • @bumelant
    @bumelant Год назад +2

    Good to see you again

  • @irlshrek
    @irlshrek Год назад +1

    Absolutely love your style! So clear, articulate, and organized nicely!

  • @twenty-fifth420
    @twenty-fifth420 Год назад +1

    >Be me
    >Learning programming, with a huge interest over functional paradigms.
    >Dualboot Windows and Linux (Fedora), also on Linux primarily recently because easier to dev?
    >And on a youtube rabbit hole binge of watching software engineers being software engineers
    >Gets this in my recommendation
    "The algorithm gods have blessed me."

  • @alivecoding4995
    @alivecoding4995 Год назад

    Great video! I liked the hint on the security aspect. And also the explanation of flakes.

  • @RemcoStoutjesdijk
    @RemcoStoutjesdijk Год назад +1

    Gonna have to watch this a couple more times but a very interesting tool.

  • @laughingvampire7555
    @laughingvampire7555 Год назад

    4:06 when a step like that comes from any tool, what I usually do is start a new shell in the same place, or just start a new tab and if it doesn't break then I close the other tab.

  • @krishnachaitanya4822
    @krishnachaitanya4822 9 месяцев назад

    The last thing blowed my mind!

  • @vincei4252
    @vincei4252 Год назад +2

    Hey Man! Welcome back!

  • @MovieMan-un2ii
    @MovieMan-un2ii Год назад

    Glad to see you again

  • @madfangkills
    @madfangkills Год назад

    Could you cite the source where you're getting this "Number of packages in repository" graph? This is the graph shown at 10:57

  • @v4lgrind
    @v4lgrind Год назад +2

    Welcome back!

  • @laughingvampire7555
    @laughingvampire7555 Год назад

    there is also nixops A Nix based deployment and provisioning tool allowing declarative specification of remote NixOS systems, VMs and containers; supports AWS, Hetzner, GCE and some other cloud providers out of box. NixOS is the distribution

  • @programorprogrammed
    @programorprogrammed Год назад

    Great video. Guix for the win! 😁

  • @hopelessdecoy
    @hopelessdecoy Год назад +1

    Love the idea of Nix, just wish it had a few more new user friendly tools or better documentation. It'd be my daily driver if it was more in either or both areas.

  • @edgeeffect
    @edgeeffect Год назад +1

    Not only are you back... you've got a face too! ;)

  • @evelynescalona7267
    @evelynescalona7267 Год назад

    We need more videos like tis one!,will be great a video how to keep nix update,it was difficult for me!! thanks

  • @fnyn
    @fnyn 7 месяцев назад

    Love the "studenv" :D Standard Environment :>

  • @claytonmoore9530
    @claytonmoore9530 Год назад +2

    I think I summoned you?🤔
    Me last night, to my wife, after watching your videos on reverse engineering: “this guy made great videos. It’s too bad he hasn’t made one in 3 years”
    You: **poof of dark smoke**** 😂

  • @horikatanifuji5038
    @horikatanifuji5038 Год назад +6

    I wish there was a course that taught how to make programs in python with a great variety of libraries, including flask, using nix as the environment to ensure that a program can be reproducible.

  • @andrewhuang6232
    @andrewhuang6232 Год назад

    i tried to install NixOS on my old laptop. but it does not work. it needs GPT partion, MBR not work.

  • @xlr555usa
    @xlr555usa Год назад

    I'm testing NixOS in a VM and it has been buggy. Sometimes the UI locks up.

  • @tonywtyt
    @tonywtyt Год назад

    I'm one of those living under a rock. There distros that everyone has heard about in the top 5 or so. Then, a briefly passed over a reference to it a few days ago, but didn't stop to investigate. Then, I went to investigate the installation of a software install that stated "if you have Nix install with such-and-such installed..." (What the heck is Nix???)... I had to investigate. I really don't like Windows and MS just keeps on piling crap on and making it harder to remove said crap. But, a lot of games I've gravitated to over the years live on Win. I got tired of the not being available or trying to get them to work on Linux. But, I also found hard to deal with all the dependencies and dealing with the package managers due to all the programming languages and development tools I'm interested in. If I can find some peace in NixOS, then maybe it would be the one!

  • @sweet_cherry_blossoms
    @sweet_cherry_blossoms 10 месяцев назад

    Welcome back !!!

  • @jlfazmo
    @jlfazmo Год назад

    Hes alive!

  • @tumescent
    @tumescent Год назад +1

    alive!

  • @zungaloca
    @zungaloca Год назад

    Nixos is the best linux distro period

  • @idjdbrvvskambvvv9007
    @idjdbrvvskambvvv9007 Год назад

    YOOOOOO WELCOMEBACKK

  • @marcuswest4572
    @marcuswest4572 Год назад

    Please start an Academy . I'm in

  • @g3i0r
    @g3i0r Год назад +1

    I wonder: When the goal is reproducible builds, why didn't you have to specify your used compiler, clib, cmake, make? Are they not fetched via nix? IMO, these have to be specified to let the project be reproducible.

    • @OpenTechLab
      @OpenTechLab  Год назад +2

      I'm going to cover this in the next video, but the answer is in the flake.lock file, which is a JSON file that contains the commit ids and hashes of the inputs.

    • @gabrielfontes4300
      @gabrielfontes4300 Год назад

      The idea is that these are locked in specific version(s)/commit(s) in nixpkgs, and your project uses a specific version/commit of nixpkgs.
      Nixpkgs lets you use nix with what "looks like" a regular software distribution (a cohesive set of updated packages), but the magic of nix is that you can simply use a different version of your toolchain by simply switching the nixpkgs commit you're using (or even using a different repository, or even packaging the toolchain yourself), and even mix and match: e.g. you can have package A and package B depend on conflicting versions of package C, being used together as dependencies of package D.

  • @Pejo-Bun
    @Pejo-Bun Год назад

    You can run packages WITHOUT even dowloading them??? It's all just temporarily cached? That's crazy, man.

  • @anasouardini
    @anasouardini Год назад

    each app you install is going to be added to $PATH? this is insane.

  • @HUEHUEUHEPony
    @HUEHUEUHEPony Месяц назад

    now do a guix tutorial

  • @R2AUK
    @R2AUK Год назад

    ❤ ❤ ❤

  • @rca168
    @rca168 8 месяцев назад

    So right now it is most useful for some developers, not users, ok.

  • @matisec3413
    @matisec3413 Год назад

    Yasss

  • @skylerparker8871
    @skylerparker8871 Год назад

    stdenv =standard environment

  • @yash1152
    @yash1152 4 месяца назад

    3:08 6:14 watch later

  • @menschjanvv2500
    @menschjanvv2500 Год назад +1

    Das wird doch eh nix.

  • @steve_case
    @steve_case Год назад +1

    Welcome back!

  • @kalj7
    @kalj7 Год назад +1

    welcome back!