NixOS 63: Install NixOS 23.11 and Use Flakes Out Of the Box

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2023
  • NixOS 23.11 has a bit of a split personality. Out of the box, when you install it
    fresh, it is configured in a mode that will soon become legacy. In this interminable video, I'll describe how to get it configured as quickly as possible in "flakes" mode, which is the new hotness.
    Talky-script: github.com/mcdonc/.nixconfig/...
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Great video. As a non-programmer trying to learn nix, your clear, simple explanations were really helpful.

  • @phonewithoutquestion80
    @phonewithoutquestion80 4 หลายเดือนก่อน +3

    I appreciate your *actual documentation*
    this might actually get me back into NixOS...

  • @spencerallen323
    @spencerallen323 5 หลายเดือนก่อน +3

    Finally an understandable explanation of flakes vs channels. Why does everyone try to make this so difficult? It's out with the old in the new, easy.

  • @stoicfloor
    @stoicfloor 7 หลายเดือนก่อน +2

    Thank you so much for all the nix videos. They're very informative and it definitely lowers the barrier of entry. I'll try nixos one day. Thank you!

  • @tejing2001
    @tejing2001 7 หลายเดือนก่อน +6

    Your timeline for flakes stabilizing is... optimistic. Very optimistic.
    Also, a note: you don't need `nix.package = pkgs.nixUnstable;` anymore. The stable version of nix includes flakes functionality these days, but it's still behind the experimental feature flag. Also `nix.settings` is preferred over `nix.extraOptions`, now that it exists.
    Good introduction, though. Got the right information through, while staying approachable. I might just link people here sometimes.

    • @ChrisMcDonough
      @ChrisMcDonough  7 หลายเดือนก่อน +1

      Thanks for listening and commenting Jeff, I always appreciate seeing your feedback

    • @ChrisMcDonough
      @ChrisMcDonough  2 หลายเดือนก่อน

      "Your timeline for flakes stabilizing is... optimistic. Very optimistic."
      I get it now :)

  • @adrianscarlett
    @adrianscarlett 2 หลายเดือนก่อน

    Lots of great information here, much appreciated.
    I was hoping they'd just provide an option to use legacy or flakes in the installer, ideally an option to choose a git repo to start from.

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

      There are unresolved contentions in the Nix world related to flakes that leads to this not being the case yet sadly

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

    15:45 "It is not Vim " So relatable!!!

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

    Best video I have seen so far on this topic. Thank you.

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

    Thanks, that's informative.
    One nit: the transcript repeats a chunk of stuff (the bits about `myothersystem`: once right after creating `flake.nix`, and later in the "let's revisit `flake.nix`" part (where you likely meant it to be).

  • @chrisdswanson
    @chrisdswanson 7 หลายเดือนก่อน +1

    I've been a big fan of your NixOS videos since 001. As others have stated, very informative, organized yet approachable. You cover things thoroughly in ways where some other sources just shadow over or sweep through really fast. What I really like about your series is the nostalgia I catch the feels of when you make comments or remarks on stuff. Stuff you have to be a 70's or 80's kid to understand or even catch. Keep rippin the tags off of the mattresses bro. I wanted to ask, do you have your own matrix or mastodon channel, or discord? tell me you keep it OG and still use an IRC.

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

      I really dig the Scanner Darkly wallpaper as well :) Did you enjoy Waking Life?

    • @ChrisMcDonough
      @ChrisMcDonough  7 หลายเดือนก่อน +1

      Awwww. Thanks! I do not use IRC anymore because I would be the only one there. Shamefully I have neve seen Waking Life. True story, even before the SD movie came out, I heard it was rotoscoped and I'm like nobody needs that. I had read the book probably 10 times at that point. But when I first saw it, I knew it had been put in good hands and I loved it. I watched that movie with the same director and the training day guy... fatherhood? brotherhood?... and I was like ok this guy is great. But I never followed up.

    • @ChrisMcDonough
      @ChrisMcDonough  7 หลายเดือนก่อน +1

      (and yes, I am on mastodon at @chrism@chattingdarkly.org)

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

    awesome video👍

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

    Good stuff

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

    AFAIK git is not required to use flakes. If you don't have any git repo, nix uses all flakes from the current dir for flake purposes.

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

      I did not know! I kinda wish I didn't know ;)

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

    i know nothing bout this world but ive managed to get NIX on my device im probably going to F off my laptop but its ok i have 5 more if i do but i will figure it with youtube lol im need a new challenge!

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

    anyone ever tell you that you sound alot like Alex Jones

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

      I think it might be the years of self destruction taking their toll

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

      Like a mix between Alex Jones and Seth Rogen.