Nix in 100 Seconds

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 1,3 тис.

  • @GSBarlev
    @GSBarlev 5 місяців тому +6821

    You've just made Nix users *extremely* happy. That's right, all eight of them.

    • @XxZeldaxXXxLinkxX
      @XxZeldaxXXxLinkxX 5 місяців тому +107

      fk yeah

    • @aijokker
      @aijokker 5 місяців тому +117

      Count my 0.1 in
      I just like to watch how people attempt to install linux😂

    • @sodiboo
      @sodiboo 5 місяців тому +28

      I am so happy right now

    • @shlokbhakta2893
      @shlokbhakta2893 5 місяців тому +10

      @@GSBarlev count my 0.1 too

    • @GamerSenior
      @GamerSenior 5 місяців тому +8

      Pretty Happy here

  • @bause6182
    @bause6182 5 місяців тому +1266

    "It works on my machine "
    - "send me your machine ! "

    • @fedfer
      @fedfer 5 місяців тому +21

      Or use nix flakes for dev environments allowing to make fully reproducible builds and to list every single dependency of the project

    • @red13emerald
      @red13emerald 5 місяців тому +37

      Nix basically comes as close to that as you can without doing full-on containers like docker or even VMs.

    • @ThomasConover
      @ThomasConover 5 місяців тому +2

      😮 I can’t believe this

    • @YonatanAvhar
      @YonatanAvhar 5 місяців тому +8

      *sends machine*

    • @olnnn
      @olnnn 5 місяців тому +6

      I mean yeah even if the nix makes the software setup reproducible differences in the computer setup itself could still result in it not working on another machine in edge cases

  • @CurryHow
    @CurryHow 5 місяців тому +2128

    Nix long time user and Haskell programmer here, welcome to the rabbit hole where you cannot edit your system files directly like you used to, if no one has wrapped it you must learn the functional language to change a simple parameter in your config, and we’ll all benefit from it! It’s a trap to force everyone learning functional programming, there’s no escape! You’re welcome!

    • @Kane0123
      @Kane0123 5 місяців тому +102

      A unicorn in the wild..

    • @kissmyussr1993
      @kissmyussr1993 5 місяців тому +1

      What do Haskell programmers even do for a living?

    • @alexanderhunt9263
      @alexanderhunt9263 5 місяців тому +22

      This sums up my experience so far, I love it!

    • @cachaçaalchemist
      @cachaçaalchemist 5 місяців тому +281

      This comment has the same energy of "You're being saved. Please do not resist."

    • @feelshowdy
      @feelshowdy 5 місяців тому +37

      HASKELL ENJOYER SPOTTED 🤝

  • @Jademalo
    @Jademalo 5 місяців тому +407

    God i love NixOS, i spent a week writing a derivation and service for a weird 13 year old hardware driver and it now just works on all of my machines forever

    • @thenarrowtruth8480
      @thenarrowtruth8480 5 місяців тому +51

      See now we are getting to the meat and potatoes . Thanks for sharing!

    • @richtigmann1
      @richtigmann1 5 місяців тому

      Yeah that's exactly how I feel. I spent a significantly long time figuring how to do this weird spotify mod (spicetify) and it took me sooo long to figure it out, but now that I've got it done, nixos is the only OS where this thing reliably works because it's just declared all the same and is never messed up by system updates

    • @dotanuki3371
      @dotanuki3371 5 місяців тому +30

      the most important word in that sentence is "week". nixos is great when you edit a config and it just works, but when it doesn't, be prepared to spend TIME digging through untold layers of abstraction

    • @theairaccumulator7144
      @theairaccumulator7144 5 місяців тому

      @@dotanuki3371 string in a string in a string comfig moment

    • @Jademalo
      @Jademalo 5 місяців тому +45

      ​@dotanuki3371 admittedly a good amount of that week was actually learning how nix derivations work so it would be much quicker if I did something else like that now, but the majority of that time was actual program config and service writing that you'd need to do on any system.
      The nice thing though is I never need to touch it again, whereas with other systems I'd be starting mostly from scratch every time since I'd forget how I did it.
      Learning nix is the hard part, but using nix isn't too bad

  • @IuseNixOsbtw
    @IuseNixOsbtw 5 місяців тому +1769

    Nix mentioned 🗣️🔥

    • @RanganattthIB
      @RanganattthIB 5 місяців тому +22

      what the fuck is bad os?

    • @jjamesmartiin
      @jjamesmartiin 5 місяців тому +7

      HYPE

    • @adjbutler
      @adjbutler 5 місяців тому +5

      lets go!

    • @lololol338
      @lololol338 5 місяців тому +2

      That's Huge

    • @Sestaak
      @Sestaak 5 місяців тому +14

      There's dozens of us! DOZENS!

  • @JeffGeerling
    @JeffGeerling 5 місяців тому +597

    BTW I Use Nix

  • @richtigmann1
    @richtigmann1 5 місяців тому +827

    NixOS in a nutshell:
    - You can't change anything with commands anymore, non-FHS compliant means you can't even install binaries and expect them to work
    - Everything has to be done through the config so you better hope there's an option for it or you'll have to learn how to code up that option yourself.
    - But also has the most expansive collection of packages (Rivals and in some cases BEATS the AUR in package availability)
    - Documentation SUCKS
    - Even without the fact that you can undo changes like installing DEs at an instant, it's solid as a rock because it's all configuration, it'll just refuse to make your new configuration rather than accepting your command to break your system, NEVERhave an unbootable system AGAIN.
    - What does this error message mean why can I not find anything online for this
    - Best part is that ALL your changes are just LISTED there in a plain text file so you can just read it, leave comments, and just have living documentation of every single change you've made to your system. Congrats, it's really your system now.

    • @redpillsatori3020
      @redpillsatori3020 5 місяців тому +15

      Good to know. Thanks

    • @NotGarbageLoops
      @NotGarbageLoops 5 місяців тому +16

      Thank you for the wisdom

    • @MarkRuvald
      @MarkRuvald 5 місяців тому +41

      ChatGPT actually works pretty OK to cover for lack of docs. Since there is a lot of Nix code out there, and 20 years of it.

    • @wi1h
      @wi1h 5 місяців тому

      fairly new (6 months ish) nix-darwin user here (just love my macbook too much to go full nixos), it's unbelievable to me how bad the nix docs are. especially for flakes, which as far as i can tell, there is no reason to not use flakes if you're new

    • @fedfer
      @fedfer 5 місяців тому +7

      But luckily you get used to almost all of this and almost everything starts to make sense then (even though some errors are still incomprehensible).

  • @RenderingUser
    @RenderingUser 5 місяців тому +311

    Clicking on fireship videos is a declarative process for me

  • @trueberryless
    @trueberryless 5 місяців тому +880

    damn, this is arch's arch enemy

    • @TheMinecraftMan757
      @TheMinecraftMan757 5 місяців тому +153

      I have arch enemies, btw

    • @GSBarlev
      @GSBarlev 5 місяців тому +78

      Arch Nix
      🤝
      SteamOS since 3.5

    • @kristeinsalmath1959
      @kristeinsalmath1959 5 місяців тому +17

      Arch isn't even close to be a competitor.

    • @anonymoususerinterface
      @anonymoususerinterface 5 місяців тому

      What? Steam is both? Or am i getting this wrong?​@@GSBarlev

    • @DiegoRockLoiro
      @DiegoRockLoiro 5 місяців тому +45

      this bloated OS is not a competition to arch

  • @jarradwilder
    @jarradwilder 5 місяців тому +599

    Docker: You can configure your virtual machine!
    Nix: You can configure your actual machine!

    • @juanbomfim22
      @juanbomfim22 5 місяців тому +5

      Incredibly I've stumbled upon this problem right now when the video was aired, while working with VMs on Azure

    • @NotGarbageLoops
      @NotGarbageLoops 5 місяців тому

      @@juanbomfim22 Happens for everyone at some stage. The TS video dropped the same hour I started researching it.

    • @MarkRuvald
      @MarkRuvald 5 місяців тому

      And then check out nixos-generators

    • @CrazyMineCuber
      @CrazyMineCuber 5 місяців тому +16

      You can build docker images with nix too!

    • @clray123
      @clray123 5 місяців тому +76

      @@CrazyMineCuber and build nix with docker images... it's called configuration management fetishism, a subgenre of masochism

  • @tcurdt
    @tcurdt 5 місяців тому +74

    NixOS walks a fine line between frustration and purely amazing.
    But everyone be careful: once you have got sucked into NixOS it's tough to go back. Despite all the pain.

    • @ImperiumLibertas
      @ImperiumLibertas 5 місяців тому +10

      Start with just nix package manager and home manager. It has way less jank and is easier to walk away from than if you go full bore Nixos

    • @loopyloops5652
      @loopyloops5652 5 місяців тому

      was a bit too much of a hassle for my taste. stopped using nix package manager on my phones some years back. tried again on my steamdeck but ultimately went back to compiling stuff myself

    • @red13emerald
      @red13emerald 5 місяців тому +4

      @@ImperiumLibertas Agreed. It allows you to dip your toes in and learning without relying on it too much. Also, writing a shell.nix or flake.nix for your projects can make it so much easier for other developers to have the same environment, that's a very powerful thing to try out as well without having to install a different distro.

    • @Thermality790
      @Thermality790 5 місяців тому +1

      It's the similar type of experience that Adobe clients feel while using Premier or After Effects minus the loss of cash.

    • @tcurdt
      @tcurdt 5 місяців тому +5

      @@ImperiumLibertas That's dipping a toe - but I am running NixOS servers and it's hard imagining going back now.

  • @VoidHuskie
    @VoidHuskie 5 місяців тому +1901

    Now I can add 5 years+ experience of nix in my resume

    • @Archikuus
      @Archikuus 5 місяців тому +151

      now you can add "I make reused jokes on youtube" too

    • @aijokker
      @aijokker 5 місяців тому +7

      First try to install linux

    • @darukutsu
      @darukutsu 5 місяців тому +18

      you meant you can add 5 years+ of experience into your nix config, right?

    • @aijokker
      @aijokker 5 місяців тому +9

      @@darukutsu he meant 5 years of making bad jokes on youtube

    • @oevers
      @oevers 5 місяців тому +8

      Does "nix" also mean "nothing" in English? At least in colloquial German, which makes it even funnier.

  • @94SL3
    @94SL3 5 місяців тому +534

    I‘m so glad I‘m not the only one who just SSH’s into remote hosts and starts to run random commands copied from all over the internet 😅

    • @bullpup1337
      @bullpup1337 5 місяців тому +32

      big question though…. who’s machines are you remotely logging onto?

    • @biggestthreattoyourexistence
      @biggestthreattoyourexistence 5 місяців тому

      where else am I gonna get my commands from

    • @igorthelight
      @igorthelight 5 місяців тому

      @@bullpup1337 ;-)

    • @igorthelight
      @igorthelight 5 місяців тому

      Just don't forget to use TimeShift!
      Thank me later ;-)

    • @andnekon
      @andnekon 5 місяців тому

      @@bullpup1337 for me it's usually vps or workstation, although it's not that often that I need to set them up

  • @SuperPuns
    @SuperPuns 5 місяців тому +35

    This Video is a great example of why nix is so hard to learn for beginners. Multiple concepts/workflows are blended together when talking about abstract concepts.
    NixOS != nix != nixpkgs, mainly because "nix" is actually multiple different things (a functiobal programming language and a package manager that can interpret it).
    Nix can be used without NixOS (btw.) and the configuration.nix file is only used on NixOS.
    Independent from the OS, there are many different ways to "use" packages:
    - nix run
    - nix profile ( / nix-env)
    - nix shell
    - nix develop (if you are using nix flakes, which are more or less just a scheme for organizing nix code)
    Still a good video, even if it is not perfect and im happy to see nix getting some attention ❤

    • @kexec.
      @kexec. 5 місяців тому +5

      please do not use nix env in any cases

  • @zazathomas1024
    @zazathomas1024 5 місяців тому +76

    You missed a chance to say: Thanks for watching and I’ll see you in the “nix” one 😅

  • @edzynda
    @edzynda 5 місяців тому +164

    Just recently switched to NixOS. It changed my life!

    • @lololol338
      @lololol338 5 місяців тому +3

      Same brooooo

    • @adjbutler
      @adjbutler 5 місяців тому

      samezez

    • @felixmachtsachen
      @felixmachtsachen 5 місяців тому +3

      Same I absolutely love it

    • @b_delta9725
      @b_delta9725 5 місяців тому +63

      been using it for a year now, the downside is that the more you find out you can do, the more you get inside a rabbit hole with zero documentation that'll make you forget you have actual work to do (as any niche linux distro)

    • @lololol338
      @lololol338 5 місяців тому

      @@b_delta9725 documentation is ok tier

  • @endunry
    @endunry 5 місяців тому +379

    German viewers:
    "alright then... keep your secrets"

    • @UMosNyu
      @UMosNyu 5 місяців тому +26

      Nothing to see here

    • @MrCakeLP
      @MrCakeLP 5 місяців тому +9

      lmao, took a second xD

    • @Robin_Goodfellow
      @Robin_Goodfellow 5 місяців тому +8

      Or Dutch viewers

    • @besterspieler2285
      @besterspieler2285 5 місяців тому +31

      Gar nix

    • @Windeycastle
      @Windeycastle 5 місяців тому +3

      There hasn't been a single tim I mentioned Nix to someone without hearing that joke XD

  • @MegaRandomizor
    @MegaRandomizor 3 місяці тому +2

    I have been trying to understand NIX for the longest time and this brought everything together so well. Amazing video

  • @daver9571
    @daver9571 5 місяців тому +25

    Switched to NixOS a few years ago now and it's incredible! Feels like a next-gen OS in many ways. You didn't mention what I think is one of the coolest features: nix-shell -p somepackage - you can temporarily have any package up and running to do that one thing that one time, without the need to install it or deal with the cruft left over from said random installations over years of use. Fantastic!

    • @quaesitrix881
      @quaesitrix881 5 місяців тому +1

      Really ? That a cool feature !

    • @MWLaboratories
      @MWLaboratories 4 місяці тому

      Yeah I love that feature as well

    • @tanawatjukmongkol2178
      @tanawatjukmongkol2178 4 місяці тому

      Not really next-gen. This OS is already 2 decades old.

    • @MWLaboratories
      @MWLaboratories 4 місяці тому +3

      @@tanawatjukmongkol2178 feels next gen though, it's just a hard idea to grasp. It needed some time to grow up, it's an OS after all. It even predates docker.

  • @thomas.thomas
    @thomas.thomas 5 місяців тому +20

    wild that this concept isn't already built in in modern OS

  • @roryb.bellows8617
    @roryb.bellows8617 5 місяців тому +185

    NixOS looks super cool, I'd definitely use it if I suddenly quit my job and stopped showering

    • @jonringer117
      @jonringer117 5 місяців тому +11

      Sounds worth, tbh

    • @noisetide
      @noisetide 4 місяці тому

      That was exactly the opportunity I had a year ago. I used it well to learn nix.

    • @Walter_
      @Walter_ 3 місяці тому +4

      quitting a job and stopping with showering is a classic for any high-profile accomplishments.

    • @pagedMov
      @pagedMov 2 місяці тому +1

      i started using nix after i quit my job and stopped showering, i recommend it

  • @FreshSmog
    @FreshSmog 4 місяці тому +16

    I firmly believe it's just a matter of time before we get a fully graphical nix configuration editor. Just push the right buttons and check the right boxes, all generic linux options can be defined without writing a single line of code. That's sufficient for most users.

  • @notatechchannel
    @notatechchannel 5 місяців тому +309

    I was 99% sleeping and suddenly notification pops up. Now I am 100% awake.

    • @notatechchannel
      @notatechchannel 5 місяців тому +1

      @parwatithakur2391 Also Bangladesh too.

    • @FunIsGoingOn
      @FunIsGoingOn 5 місяців тому +1

      1h later: falls asleep happily 😂

    • @Mainak908
      @Mainak908 5 місяців тому

      😂

    • @drog
      @drog 5 місяців тому

      So am I

    • @marusdod3685
      @marusdod3685 5 місяців тому

      @parwatithakur2391 stay asleep

  • @BLUYES422
    @BLUYES422 5 місяців тому +5

    been using nix as my daily driver for like 5 years! i love it, just hate when you have to write your own nix package for whatever niche program you're trying to run.

  • @epicboi46
    @epicboi46 5 місяців тому +49

    As a long-time Replit user, Nix has a massive grip on my projects

    • @tongpoo8985
      @tongpoo8985 5 місяців тому +5

      why would you use replit?

    • @infinityyworks
      @infinityyworks 5 місяців тому

      Replit has been on a corporate downfall ever since they made us pay to host websites under a SUBDOMAIN

    • @Rerbun
      @Rerbun 5 місяців тому

      ​@@tongpoo8985Best code editor on mobile (no don't tell me to stop coding on mobile, sometimes I'm inspired and want to work on stuff)

    • @robdAK
      @robdAK 5 місяців тому

      @@tongpoo8985pretty sure replit is built with nix. Shopify uses it for dev environments too IIRC.

    • @ThriceMadReckLessSaber
      @ThriceMadReckLessSaber 5 місяців тому +1

      ​@@tongpoo8985i dont hab pc or laptop

  • @mosubabdlha3184
    @mosubabdlha3184 5 місяців тому +31

    nixos users to arch users: i`m the btw now

    • @GSBarlev
      @GSBarlev 5 місяців тому +14

      Arch users to each other: "Is that how annoying we've sounded all this time?"

    • @quaesitrix881
      @quaesitrix881 5 місяців тому

      Sorry, you have the face the facts : Nix just isn't as memable 😄
      Does Nix have things like Nyarch uh ?

  • @malva9
    @malva9 5 місяців тому +4

    for some reason i thought fireship had already made a nix video. this is great to see!

  • @tryptamine-loopring-eth
    @tryptamine-loopring-eth 5 місяців тому +4

    I don’t even want Brilliant but this is the one channel I would consider the ad for just out of respect for the great content delivered

  • @amrswalha
    @amrswalha 5 місяців тому +8

    1:19 Best illustration of packages fighting of all time 😂😂

  • @Hip-HopStateOfmind
    @Hip-HopStateOfmind 5 місяців тому +9

    Finally you talk about the best, most original and useful Linux distro of all time

  • @Vexxter09
    @Vexxter09 5 місяців тому +159

    nix in 1 sentence : linux but all your configs are stored in a text file which you can use everywhere and not worry about setting up your system ever again feat fancy shit you'd probably never use but can still flex on reddit about it

    • @Liperium
      @Liperium 5 місяців тому +15

      A nice side-effect, is that if you own multiple machines, just have to sync to files up with vcs, and nixos-rebuild switch, and there you go, same setup everywhere. ( with home-manager makes it even better )

    • @seriouslyWeird
      @seriouslyWeird 5 місяців тому +3

      It's not just that, it's functional and functional programming its not very intuitive to use for a beginner

    • @marusdod3685
      @marusdod3685 5 місяців тому +22

      @@seriouslyWeird just as intuitive as any other json or yaml configuration file

    • @madProgenitorDeity
      @madProgenitorDeity 5 місяців тому +1

      Yeah I see the application for a work project, but for a home machine, I can always just use a flat shell script I keep updated..

    • @theairaccumulator7144
      @theairaccumulator7144 5 місяців тому

      @@marusdod3685 as someone who's used it, it's not. You have a full programming language to mess with for your configs. JSON, YAML, XML are just static data, key value at the end of the day. NixOS has so many abstractions and moving parts it can confuse even the most hardcore functional programmer which none of us are.

  • @conundrum2u
    @conundrum2u 5 місяців тому +2

    made the switch from Windows 11 to NixOS a while ago, a few bumps in the road since I have older hardware and so upgrading between versions has not been perfect but now I don't have to worry about MS rebooting my machine unattended even though I never explicitly told it to reboot. the founder shouldn't have used his own functional "Nix" language for config, because honestly Haskell already existed. the version and environment management is second to none. nix-shell all the things

  • @2lay
    @2lay 5 місяців тому +9

    I was just talking about NixOS to a friend, amazing video

  • @neilclay5835
    @neilclay5835 5 місяців тому +29

    I now paste the stuff I copied from random parts of the internet into config files buried in places I'm not used to them being in.

    • @everyhandletaken
      @everyhandletaken 5 місяців тому +2

      What you can't see, can't hurt you... right?

    • @fedfer
      @fedfer 5 місяців тому +2

      Except that all the config files are in the same place and if you don't understand an option you can go see for yourself what it's doing under the hood through nixpkgs

  • @vishnuprasad5445
    @vishnuprasad5445 5 місяців тому +38

    I'm a fireship fan, I donno what any of these things you say are, I'm here for the sarcasm and comedy🎉

  • @devolanssb2492
    @devolanssb2492 5 місяців тому

    Just got started with NixOS last week myself, and I'm pretty happy with it so far. First time setup is a bit of a pain, especially if you're not used to the workflow, but I really enjoy a lot of the benefits that come with the declarative setup.

  • @Vallee152
    @Vallee152 5 місяців тому +42

    2:40, that was actually 160

  • @BurzowySzczurek
    @BurzowySzczurek 5 місяців тому +2

    Few days ago I was like "I need to tell Fireship to make a video about Nix".
    Fireship few days later: Nix in 100 Seconds

  • @Malix_Labs
    @Malix_Labs 5 місяців тому +241

    Fastest click in the west

  • @laughingvampire7555
    @laughingvampire7555 5 місяців тому +2

    fireship: this was supposed to be my first video, I've been researching it for a decade, it is finally out.

  • @Redyf
    @Redyf 5 місяців тому +43

    NIX MENTIONED LETS GOOO

  • @Joey_The_God_Of_Code
    @Joey_The_God_Of_Code 6 днів тому

    Nix and NixOS are absolutely fantastic tools. I use them on my daily desktop pc as well as all my servers. Being able to spin up new machines or migrate my machine just by moving a config that's version controlled is a power that shouldn't be underestimated. Not to mention having a flake.nix file with every development project for easy allowing for an easy spin up of the same environment locally, in the CICD pipeline and in production.

  • @Daydream_Dynamo
    @Daydream_Dynamo 5 місяців тому +7

    NIX, Never heard that before, Good to Know Now!!!

  • @whyareyoutaggingmeha
    @whyareyoutaggingmeha 5 місяців тому +2

    So basically it allows to use same versions of packages over different devices, such a simple idea but damn they perfected it to the max level

  • @hidekxyz
    @hidekxyz 5 місяців тому +17

    This reproducible and declarative way of configuring your system is interesting because it allows for feature modularity without having to worry about system's state
    For example, consider a program which uses python to work, if you install in your machine, you need to certify that you have the needed python version, but what if another program needs an older version of python
    With Nix, you simply add to your package list or configure it using modules, which are literally code snippets that you can send to other people and it will work too

    • @hidekxyz
      @hidekxyz 5 місяців тому +7

      Not covered by Fireship, but the Nix ecosystem is full of tools and modules to configure a lot of things:
      - Home manager: allows to use one language (Nix) to configure all your dotfiles in your home dir
      - Disko: Extend the declarative way for partitioning and formatting your drives (with support for ZFS, BTRFS and other file systems)
      - Impermanence: Modules for an immutable system to declare which files and folders to persist between boots
      - Arion: docker compose but with nix
      the standard nixpkgs also has modules for a lot of things, even configuring minecraft servers on it

  • @peterromfeld4091
    @peterromfeld4091 2 місяці тому

    Ive been using nix on macbook for many years, eventually i got the option to use Linux again and installed NixOS - i have never been happier with my machine

  • @OrangeC7
    @OrangeC7 5 місяців тому +5

    I love how the comments are full of people that love Nix and will do anything to stop you from submitting to its torture

  • @Karrq
    @Karrq 5 місяців тому +1

    Literally been working on a few tools using nix for the past week! Using it for nodejs is not easy but rewarding!

  • @compositeboson123
    @compositeboson123 5 місяців тому +8

    gonna share this to nixos discord

  • @xeldiosx
    @xeldiosx 4 місяці тому

    this video is awesome.. my fav tech channel talking about my fav distro

  • @huantian
    @huantian 5 місяців тому +3

    No way Nix and Arizona mentioned in the same video???? This is my lucky day!

  • @4RILDIGITAL
    @4RILDIGITAL 4 місяці тому

    I agree with your take on the power and utility of the NYX package manager. It is indeed a game-changer when you can have a deterministic and reproducible system configuration.

  • @vimjoyer
    @vimjoyer 5 місяців тому +17

    NixOS 💪💪💪

  • @matt_milack
    @matt_milack 5 місяців тому +2

    A video on sysadmins would make my day.

  • @InfinityN
    @InfinityN 5 місяців тому +4

    Would be a good idea to mention during the NixOS section that it is not FHS compliant meaning if it ain't packaged for Nix, you ain't running it. No downloading binaries off the internet etc.

    • @vonelfensenf8151
      @vonelfensenf8151 5 місяців тому

      But if you got into nix, you'll soon find out that there are ways to deal with that.
      steam-run, distrobox or classic docker/podman stuff.
      As a developer I always thought that the "doesn't run binaries" is a dealbreaker for me, but I soon found out that it isn't.

    • @fedfer
      @fedfer 5 місяців тому

      @@InfinityN steam-run, nix-ld, nix-shell: "am I joke to you?"

    • @nickcorn93
      @nickcorn93 5 місяців тому +1

      It is only a problem for dynamically linked binaries that expect other dependencies in specific places on your system. Statically linked binaries work just fine on Nix, but it may be a bit of a hassle to get it on your PATH

  • @ColossalMcBuzz
    @ColossalMcBuzz 5 місяців тому +1

    I'm excited to be able to add this to my resume now after watching this video.

  • @DimitriRytsk
    @DimitriRytsk 5 місяців тому +7

    Correction at 2:44. Developers understand how solve only problems they or other developers created. But they are not always do.

  • @waralo191
    @waralo191 5 місяців тому +4

    Nix OS Rocks for Servers

  • @Master120
    @Master120 5 місяців тому +1

    Just moved from Mint to NixOS yesterday, it's really good in my opinion, doesn't come with bloat and currently idle it uses less resources than Mint Xfce.

  • @danielpicassomunoz2752
    @danielpicassomunoz2752 5 місяців тому +3

    Wished they didn't kick out developers because of personal issues

  • @maurogalindez3901
    @maurogalindez3901 5 місяців тому

    Sorry about your mom, mate. You're a brilliant youtuber and I love your work. Thanks for all you've taught me!

  • @dezly-macauley
    @dezly-macauley 5 місяців тому +3

    I've been using NixOS for months now. And this is home.
    The only other OS I'll use is Arch.
    Couldn't care less about Windows or the distro hopping nonsense on Linux (aka Debian with a different spray paint)

    • @rafal9ck817
      @rafal9ck817 5 місяців тому

      So how's nix vs arch? Asking about WM and custom DE experience.

    • @Anonymous4045
      @Anonymous4045 5 місяців тому

      @@rafal9ck817Better I'd say. Nixpkgs has about the same, even a little more, packages than the aur. Also many programs like hyprland are directly configurable from the configuration.nix.

    • @dezly-macauley
      @dezly-macauley 5 місяців тому

      @@rafal9ck817 Both are great. Arch is more stable than what most people will tell you. When it comes to Window Managers. Hyprland. nuff said. First class support on NixOS and Arch

    • @knoopx
      @knoopx 5 місяців тому

      @@rafal9ck817 probably on par but definitely more convenient on nixos (as you have all your DE config in one place)

    • @quaesitrix881
      @quaesitrix881 5 місяців тому

      @@rafal9ck817 I have been wondering the same thing and hyprland seems to work really well on it from what I've read. I think the last census showed about 25% of hyprland users were using NixOS, so there'll be good support and documentation. I don't know about what other WM / Wayland compositors would be a good pick for Nix.

  • @dualfluidreactor
    @dualfluidreactor 5 місяців тому

    What I love about Nix is, that you truly can define what your software needs, for example in terms ofwht specific libraries and versions andjut give it to it andit works. Nixos makes stuff possible. And ependencies is such a headache on othrer systems.

  • @itsoasi
    @itsoasi 5 місяців тому +11

    Definitely trying out NixOS

    • @thenarrowtruth8480
      @thenarrowtruth8480 5 місяців тому +2

      It’s a rabbit hole
      For sure . It’s been on one of my laptops for like 10 months still building and running properly

    • @Frederick-oe2rw
      @Frederick-oe2rw 4 місяці тому

      Make sure you have plenty of time before you try this...

    • @AnotherNix_everything
      @AnotherNix_everything 3 місяці тому

      BRO

  • @danmcf88
    @danmcf88 4 місяці тому

    Thanks

  • @vsouza5000
    @vsouza5000 5 місяців тому +15

    Holy crap, Nix is so much cooler than I thought it was.
    I might give it a try.
    Maybe I'll finally stop wasting hours after formatting my PC reconfiguring everything.

    • @Anonymous4045
      @Anonymous4045 5 місяців тому +2

      Try it out in a VM! It's pretty great.

    • @angeldude101
      @angeldude101 5 місяців тому +6

      No. You'll waste even _more_ time reconfiguring everything as you try out every possible option in search of the Perfect Config, returning to it every time you find something new that you can do that you previously thought was impossible.

    • @Anonymous4045
      @Anonymous4045 5 місяців тому +2

      @@angeldude101 I'd recommend using git branches if you do that, so you can have your "standard" branch you can fall back on and then some for trying out things

    • @angeldude101
      @angeldude101 5 місяців тому +1

      @@Anonymous4045 If I don't like how it turns out, I tweak it until I do. Sometimes that just happens to land on effectively the same state it started as, but not very often. When this does happen, the new code is still usually there, just commented out or disabled or similar.
      Since using git on my config, and learning that I only need to stage changes rather than commit them, I generally don't commit until I'm satisfied with the result, so if there was a branch, it would've gotten merged into the standard branch after 1 commit.
      In general, I don't see how using branches is supposed to tame my urge to tinker and continually revisit the config every now and then.

    • @Anonymous4045
      @Anonymous4045 5 місяців тому

      @@angeldude101 Hmm yeah it probably wouldn't help much with your usecase then.

  • @syedjaveed3607
    @syedjaveed3607 5 місяців тому

    i was literally seraching for this and fireship made this video.. 🔥

  • @CountDookuful
    @CountDookuful 5 місяців тому +3

    Packaging my application on nix, importing it onto a nix server, and configuring the server with terraform. Truly, everything as code.

    • @tednaaa
      @tednaaa 5 місяців тому +1

      ansible also

    • @dfgdfg_
      @dfgdfg_ 5 місяців тому

      Terraform state sucks, as does the company that owns it

  • @emersonzapata1611
    @emersonzapata1611 5 місяців тому

    Love this vid.
    The wait was worth it ✨️❤️

  • @Dusta_Rhymes
    @Dusta_Rhymes 5 місяців тому +87

    The new Arch... btw.

    • @borisoid
      @borisoid 5 місяців тому +19

      I use NixOS, btw

    • @RenderingUser
      @RenderingUser 5 місяців тому +11

      needs a different 3 letter catch phrase.
      arch is cool and all...
      _i use nixos tho_

    • @GSBarlev
      @GSBarlev 5 місяців тому +3

      Anyone who's ever tried to do anything productive on SteamOS: _¿porque no los dos?_

    • @luizsalazar87
      @luizsalazar87 5 місяців тому

      @@GSBarlev Jovian-NixOS mixes SteamOS with NixOS. I'm daily driving it right now on a Steamdeck. The nix package manager also works on Valve's Arch based SteamOS. I used it to install obs-vkcapture to enable on device obs streaming to Twitch.

    • @PauloSantos-dr9uo
      @PauloSantos-dr9uo 3 місяці тому

      I really hope NixOS does not become too viral. It would become cancerous afterwards

  • @strange_man
    @strange_man 4 місяці тому

    The "in 100 seconds" videos are never 100 seconds. And it is beautiful.

  • @LuxuriantCarrot
    @LuxuriantCarrot 5 місяців тому +41

    Video ends at 1:40

  • @BruinesEtienne
    @BruinesEtienne 5 місяців тому +1

    I tried running NixOS on several servers and even though I like the idea, it wasn't for us:
    - Random kernel issues (kernel panics happening a few times a month after an update - even bootlooping after that)
    - Software has usually outdated versions - when a new version of something is released, it usually takes about 1-2 weeks before it's available on Nix
    - The entire git repo (with all of the Nix packages and their versions) feels unmanagable. It's maintained by volunteers, so it feels very 'unsafe' even though it might be just as unsafe as (or even safer than) other distros.

    • @kexec.
      @kexec. 5 місяців тому

      how using github makes you unsafe lol

    • @BruinesEtienne
      @BruinesEtienne 5 місяців тому

      @@kexec. The fact that there's so many maintainers with write-access to the entire repo, instead of just the area they specialize in.

    • @kexec.
      @kexec. 5 місяців тому

      @@BruinesEtienne what are you talking about? the whole point of using github is everyone can “easily” contribute the project and contributors don’t have ability to merge the PR by default 💀

    • @BruinesEtienne
      @BruinesEtienne 5 місяців тому

      @@kexec. You have a good point. (Except that there's still a lot of people with the ability to merge.) It's probably no worse than with other distros - in the end it's all volunteers and the scope of packages is too much to handle for a small group of people. (I'm not talking about the fact that anyone can create a PR, that's great - but that there's so many people that can potentially merge that PR.) I love how using GitHub makes the whole process transparent and auditable though.

    • @fedfer
      @fedfer 5 місяців тому +2

      The kernel panics are weird, I've been using nixOS on my laptop and my homelab for a few months now and I never had a kernel panic or a bootloop!

  • @sher1x165
    @sher1x165 5 місяців тому +12

    Finally Nix!

  • @AqgvP07r-hq3vu
    @AqgvP07r-hq3vu 4 місяці тому

    fireship, your influence is making the world a better place. - by one of 45 nix users

  • @vincentnthomas1
    @vincentnthomas1 5 місяців тому +3

    Nix mentioned 🔥🔥🔥

  • @arnamak1909
    @arnamak1909 5 місяців тому

    you can also use nix as a homebrew replacement on MacOS. it’s great.

  • @MetaphoricMinds
    @MetaphoricMinds 5 місяців тому +5

    100 seconds in.... "To get started"

  • @gungun974
    @gungun974 5 місяців тому +1

    The nix sink hole gate is open ! It’s the year of the NixOS !

  • @Neoh53
    @Neoh53 5 місяців тому +5

    But is it blazingly fast ?

    • @ivandimitrov4410
      @ivandimitrov4410 5 місяців тому +2

      not really

    • @bluKaeya
      @bluKaeya 5 місяців тому

      While the performance isn't exactly perfect because of it's pure nature, Nix is quite fast for what it does. The bottleneck is usually the developer trying to debug an infinite recursion

    • @knoopx
      @knoopx 5 місяців тому

      catchyos is the fastest as of today

  • @boigandogratis1250
    @boigandogratis1250 5 місяців тому

    nice video, I'm a beginner in this world of programming and computing, I've been trying for days to install Windows managers like hyprland, but without success my daily routine apart from eating and sleeping and studying and practically spends two hours seeing if there's a different semicolon .

  • @DouweHummeling
    @DouweHummeling 5 місяців тому +3

    Fun fact- Nix (spelled as Niks), means nothing in dutch. The inventor is also Dutch. Coincidence? Possibly. Not likely.

    • @angeldude101
      @angeldude101 5 місяців тому

      It's not a coincidence. It's literally _the_ origin of the name.
      "The name _Nix_ is derived from the Dutch word _niks,_ meaning _nothing;_ build actions do not see anything that has not been explicitly declared as an input."
      - Nix: A Safe and Policy-Free System for Software Deployment (Eelco Dolstra, Merijn de Jonge, and Eelco Visser-Utrecht University)

  • @dushmanta05
    @dushmanta05 5 місяців тому +1

    Fireship and bigboxSWE both released video same day with Brilliant as the sponsor 🤠

  • @FlafyDev
    @FlafyDev 5 місяців тому +9

    NIXOS FINALLY!!!

    • @FlafyDev
      @FlafyDev 5 місяців тому +1

      nice video just didn't talk much about the purity of nix packages and how packaging is so much different than other package managers

    • @neoney
      @neoney 5 місяців тому

      hi flafy

    • @FlafyDev
      @FlafyDev 5 місяців тому

      @@neoney omg neoney hi

    • @FlafyDev
      @FlafyDev 5 місяців тому

      @@neoney why would u find the comment

  • @TJ-vh2ps
    @TJ-vh2ps 5 місяців тому +1

    With my DevOps/sysadmin hat on NIX looks amazing!

  • @fauxir
    @fauxir 5 місяців тому +5

    Sounds a bit like Ansible but better 🤔

    • @huehuehue-x3c
      @huehuehue-x3c 5 місяців тому +1

      Ansible is just an automation framework.

    •  5 місяців тому

      Ansible with a package manager.

    • @huehuehue-x3c
      @huehuehue-x3c 5 місяців тому +1

      Sooooo it’s Puppet?

    • @knoopx
      @knoopx 5 місяців тому

      @@huehuehue-x3c definitely closer to puppet than ansible

  • @nomadtrails
    @nomadtrails 5 місяців тому

    so on time. I just installed a vm with nix yesterday, plan is to move the daily driver there in time

  • @kodemasterx
    @kodemasterx 5 місяців тому +12

    0:31 Hit right home hahaha

    • @psyick9543
      @psyick9543 5 місяців тому

      Ha yeah this is so true

    • @rickymort135
      @rickymort135 5 місяців тому

      Haha yes I also copy all of my code from stack overflow lol!

  • @mikwee
    @mikwee 5 місяців тому

    God, Fireship is the gift that keeps on giving… although I still have no idea what Nix is

  • @Those_Weirdos
    @Those_Weirdos 5 місяців тому +128

    2:45 No, tools like Nix exist because bad developers know how to create new problems.

    • @nic37ry
      @nic37ry 5 місяців тому +38

      Haven't you heard of reproducibility or scalability? Have you tried to setup 10 or more machines with the exact same configurations?
      I haven't used nix yet but is easy to see why it exists, just like docker

    • @orterves
      @orterves 5 місяців тому +15

      Nix sounds great, much like docker. What's the problem?

    • @mancool450
      @mancool450 5 місяців тому

      Shitty take alert

    • @ale-v4t
      @ale-v4t 5 місяців тому

      Do you have fucking cancer my guy?

    • @nic37ry
      @nic37ry 5 місяців тому +3

      @@orterves There is no problem, it's just that some people think everything is a meritocracy, and if you don't do a certain thing, you're a bad programmer, as if we forget that the human factor exists, where everyone makes mistakes. Not even the best of us can escape this.

  • @ahmadmatar7549
    @ahmadmatar7549 5 місяців тому

    Was waiting for this for a long time🎉🎉🎉

  • @cristianchelm6522
    @cristianchelm6522 5 місяців тому +47

    100 seconds = 3.32 minutes = 212 seconds

    • @EpicMStudios
      @EpicMStudios 5 місяців тому +41

      100 is in Celsius seconds and 212 is in Fahrenheit seconds

    • @Darthvanger
      @Darthvanger 5 місяців тому +13

      Content without sponsor is 2:42 (thx SponsorBlock extension)

    • @Darthvanger
      @Darthvanger 5 місяців тому

      @gba_music_and_stuff I haven't heard about DeArrow before, looks like a great idea, thanks! So cool the community can edit the internet just like that!

    • @bedro_0
      @bedro_0 5 місяців тому +1

      0=1

    • @insideTheMirror_
      @insideTheMirror_ 5 місяців тому

      @@EpicMStudios nailed it.

  • @mrk131324
    @mrk131324 5 місяців тому +2

    Mentioning Nix without devenv is like mentioning Ruby without Rails.

  • @adjbutler
    @adjbutler 5 місяців тому +13

    NixOS! NixOS! NixOS!

  • @pepavasata6790
    @pepavasata6790 5 місяців тому +1

    Ok this is actually pretty cool, now I finally see why people enjoy this thing.

  • @Clock_Man_2763
    @Clock_Man_2763 5 місяців тому +94

    Other code language users: “Oh no! I messed it up!”
    Nix users: “I don’t have such weaknesses”

    • @kananmajidzade1035
      @kananmajidzade1035 5 місяців тому +9

      i think you didnt understand the video

    • @TheCamps10
      @TheCamps10 5 місяців тому +2

      Nix, the "code language". Yeah.

    • @frostiefops
      @frostiefops 5 місяців тому +1

      @@TheCamps10 i mean nix is a package manager, operating system AND a programming language so they're technically correct i guess
      (but you can still easily make syntax errors in nix, i think what they're referring to is the ability to rollback to previous versions of the system)

    • @br2716
      @br2716 5 місяців тому +4

      Lmfao spot the first year CS student

    • @kananmajidzade1035
      @kananmajidzade1035 5 місяців тому +6

      @@frostiefops dont overthink, he just commented what came to his mind thinking it is funny to get some likes, thats it

  • @vipuldev893
    @vipuldev893 5 місяців тому

    I got to know about your loss brother. Many many strong vibes from me Ik you will recover from this loss soon as she is resting there in heaven.
    Tons of love.

  • @Cinarbayramic
    @Cinarbayramic 5 місяців тому +4

    TLDR: the replit thingy

  • @arizvisa
    @arizvisa 4 місяці тому

    nix is great now...after 20 years, but prior to nix-2.0 it used to generate its hashes based on the url/path you were using to locate packages and not the contents of the artifacts needed to produce said package. perhaps it's worth using again, but as you get older you realize that you don't really need a lot of software to be comfortable computing.

  • @hadockzin
    @hadockzin 5 місяців тому +5

    LESGOOO NIX MENTIONED