Getting Started with Nix

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

ความคิดเห็น • 63

  • @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 5 หลายเดือนก่อน +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!

  • @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.

  • @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

  • @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.

  • @moradtamer
    @moradtamer ปีที่แล้ว +4

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

  • @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.

  • @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."

  • @radvilardian740
    @radvilardian740 5 หลายเดือนก่อน

    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!

  • @irlshrek
    @irlshrek ปีที่แล้ว +1

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

  • @kid-vf4lu
    @kid-vf4lu ปีที่แล้ว +4

    Glad to see you back!
    Great content as always

  • @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.

  • @robdupre
    @robdupre ปีที่แล้ว

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

  • @zcavaleiro
    @zcavaleiro ปีที่แล้ว +1

    Welcome back! Glad to see you sharing good knowledge.

  • @OpenSourceBUG
    @OpenSourceBUG ปีที่แล้ว +2

    Happy to see you back 🤗

  • @alivecoding4995
    @alivecoding4995 ปีที่แล้ว

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

  • @bumelant
    @bumelant ปีที่แล้ว +2

    Good to see you again

  • @RemcoStoutjesdijk
    @RemcoStoutjesdijk ปีที่แล้ว +1

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

  • @krishnachaitanya4822
    @krishnachaitanya4822 8 หลายเดือนก่อน

    The last thing blowed my mind!

  • @vincei4252
    @vincei4252 ปีที่แล้ว +2

    Hey Man! Welcome back!

  • @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.

  • @v4lgrind
    @v4lgrind ปีที่แล้ว +2

    Welcome back!

  • @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.

  • @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.

  • @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

  • @MovieMan-un2ii
    @MovieMan-un2ii ปีที่แล้ว

    Glad to see you again

  • @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

  • @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**** 😂

  • @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!

  • @edgeeffect
    @edgeeffect ปีที่แล้ว +1

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

  • @fnyn
    @fnyn 6 หลายเดือนก่อน

    Love the "studenv" :D Standard Environment :>

  • @programorprogrammed
    @programorprogrammed ปีที่แล้ว

    Great video. Guix for the win! 😁

  • @sweet_cherry_blossoms
    @sweet_cherry_blossoms 10 หลายเดือนก่อน

    Welcome back !!!

  • @zungaloca
    @zungaloca ปีที่แล้ว

    Nixos is the best linux distro period

  • @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

  • @xlr555usa
    @xlr555usa ปีที่แล้ว

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

  • @tumescent
    @tumescent ปีที่แล้ว +1

    alive!

  • @jlfazmo
    @jlfazmo ปีที่แล้ว

    Hes alive!

  • @idjdbrvvskambvvv9007
    @idjdbrvvskambvvv9007 ปีที่แล้ว

    YOOOOOO WELCOMEBACKK

  • @andrewhuang6232
    @andrewhuang6232 ปีที่แล้ว

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

  • @Pejo-Bun
    @Pejo-Bun ปีที่แล้ว

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

  • @matisec3413
    @matisec3413 ปีที่แล้ว

    Yasss

  • @R2AUK
    @R2AUK ปีที่แล้ว

    ❤ ❤ ❤

  • @marcuswest4572
    @marcuswest4572 ปีที่แล้ว

    Please start an Academy . I'm in

  • @anasouardini
    @anasouardini ปีที่แล้ว

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

  • @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.

  • @rca168
    @rca168 7 หลายเดือนก่อน

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

  • @skylerparker8871
    @skylerparker8871 ปีที่แล้ว

    stdenv =standard environment

  • @HUEHUEUHEPony
    @HUEHUEUHEPony 12 วันที่ผ่านมา

    now do a guix tutorial

  • @yash1152
    @yash1152 3 หลายเดือนก่อน

    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!