NIX OS: the BEST package manager on the MOST SOLID Linux distribution

Поделиться
HTML-код
  • Опубликовано: 11 июн 2024
  • Try out Kasm Workspaces to stream desktops, OSes & apps to your browser: www.kasmweb.com/community-edi...
    Or you can use KasmVNC, the best open source remote desktop solution on Linux: github.com/kasmtech/KasmVNC
    Grab a brand new laptop or desktop running Linux: www.tuxedocomputers.com/en#
    👏 SUPPORT THE CHANNEL:
    Get access to a weekly podcast, vote on the next topics I cover, and get your name in the credits:
    RUclips: www.youtube.com/@thelinuxexp/...
    Patreon: / thelinuxexperiment
    Liberapay: liberapay.com/TheLinuxExperim...
    Or, you can donate whatever you want: paypal.me/thelinuxexp
    👕 GET TLE MERCH
    Support the channel AND get cool new gear: the-linux-experiment.creator-...
    🎙️ LINUX AND OPEN SOURCE NEWS PODCAST:
    Listen to the latest Linux and open source news, with more in depth coverage, and ad-free! podcast.thelinuxexp.com
    🏆 FOLLOW ME ELSEWHERE:
    Website: thelinuxexp.com
    Mastodon: mastodon.social/web/@thelinuxEXP
    Pixelfed: pixelfed.social/TLENick
    PeerTube: tilvids.com/c/thelinuxexperim...
    Discord: / discord
    #nixos #linux #linuxdistro
    00:00 Intro
    00:36 Sponsor: Kasm, the best remote desktop tool
    01:22 What is NixOS?
    04:20 Using the configuration file
    08:58 Nix Package Manager
    11:03 Updating and unstable channel
    12:48 Nix is way more than that
    14:53 Sponsor: get a PC made to run Linux
    15:58 Support the channel
    NixOS is a Linux distribution that is completely and entirely reproducible. Everything you use is defined in a configuration file that is used to build your system. All the services, packages, options, partition layout, hardware, everything, is in this config file.
    If you're a developer, your eyes might be sparkling right now: that's right, one config file to exactly replicate your entire development environment.
    You also can never get into dependency hell. Packages all declare exactly which versions of each library they need, and these versions are all installed side by side and kept, not erased by newer versions.
    To create your configuration, there's a main configuration file in /etc/nixos, called configuration.nix.
    This file uses its own specific syntax, that is entirely functional: it describes everything the system uses and with which options, from the hardware, the bootloader, the services, the packages, the apps, the users, everything.
    This file is then used to build your operating system. Nix will read everything in there, and install, configure, and enable or disable everything, based on what the file contains. So, if you build a nixOS system with the same config file as someone else, you'll get exactly the same system.
    Once you rebuild your system, there are now multiple entries in the boot loader: one for the new build, and one for the old one: you can always roll back to the previous configuration.
    Of course, all of this requires root access to edit the main config of the system. But if you don't have root access, or if you don't want to add programs to your main reproducible config, but just test them out for now, you can also install packages as a regular user, using the nix package manager. Or you can add flatpak to your config file, or run appimages. But installing programs will be mainly done using the Nix package manager.
    The Nix package manager works on any Linux distro, but also on macOS, WSL, and more. It's preverytty easy to use. If I want to install, for example, OBS, I'll just type
    nix-env -iA nixos.obs-studio
    The -i is the argument to install, and the capital A is to tell the package manager to install using the specific name of the package, instead of looking through the whole repo, which is way slower.
    If I want to remove the package, I can use nix-env -e obs-studio, and it will be removed. Note that installing packages with nix-env doesn't add them to the config file.
    NixOS works with channels. By default, you'll use the Stable channel, with tested packages that get security updates only, and major feature updates when there's a new release of NixOS, every 6 months.
    To update, you can just run the command
    sudo nix-channel --update
    This will pull all the latest package versions from the channel your system uses.
    Then you run the "nix-rebuild switch --upgrade" command, and your system will grab every new version of every package, and rebuild the system based on your configuration file.
    Important to note, the new version of a package is installed alongside the old one. The new versions are the ones that will be used, thanks to a simple symbolic link system that always points to the newest version of a package, but you can rollback to an older one.
    To get newer packages, at the risk of having a less stable system, you can switch to the unstable channel.
  • НаукаНаука

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

  • @TheLinuxEXP
    @TheLinuxEXP  Год назад +58

    Try out Kasm Workspaces to stream desktops, OSes & apps to your browser: www.kasmweb.com/community-edition

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

      And then Sauran said, "One config file to rule them all and in the darkness bind them." Oh how the analytical nerds love their single shot one size fits all poopchute solutions. There go all the chmod permissions and user access controls that the Founders built to keep our systems from getting hijacked and booted off the Internet. Congratulations you rebuilt Windows, disgusting.

  • @gtsiam
    @gtsiam Год назад +892

    Three words: Documentation, documentation & documentation.
    Seriously, figuring out how the finer details of nixos work is WAY harder than it should be.

    • @TheLinuxEXP
      @TheLinuxEXP  Год назад +173

      The manual is pretty well detailed, I think, but I had a hard time grasping the concept initially

    • @gtsiam
      @gtsiam Год назад +236

      ​@@TheLinuxEXP The manual is great for initial installation and managing a single system. But as soon as you try to go beyond that (say nixos-rebuild remote deployment, flakes or what have you), the documentation becomes forum posts and source code.
      It's very powerful, and I've used it quite a bit on home servers, but most documentation talks about the high-level operation of a nixos system and does not talk about the finer details. It's kinda like having a tutorial but no manpage.

    • @dejsasm123
      @dejsasm123 Год назад +69

      And all of the docs for nix are pretty much oudated because the `nix` command is still "experimental," so if you start out without knowing anything you'll probably begin using things like `nix-env` without knowing the compatibility issues

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

      @@TheLinuxEXP agreed

    • @FengLengshun
      @FengLengshun Год назад +21

      @@gtsiam Yeah, Flake is such a headache to understand. Unlike the .nix config file, it doesn't have a great guide for how to get it working. I honestly just gave up and will only use anything that could be simply imported as a module instead of messing with flakes and overrides.

  • @camerontauxe
    @camerontauxe Год назад +199

    I've been using NixOS for just over a year now and it's nothing short of life-changing. I'm constantly switching between my desktop PC, my home server, my work laptop, and my personal laptop. With NixOS (and flakes, and home-manager) my entire computing life has been moved into a single git repository. Everything from the desktop apps I have installed, to my GNOME hotkeys, to my shell plugins to ssh config (which automatically adapts to the address/ports I've configured for my other machines) is all controlled in once place and seamless to sync between every machine. It's incredible that an operation as complex as "I want my home server to export NFS shares safely tunneled through Tailscale to all my laptops and regularly backed up with restic" is now just a commit in a git repository, just like adding a feature in any other coding project. And now that I've done it, it's perfectly reproducible. If I ever get a new laptop, every setting will be exactly how I want it, and all my NFS share will mounted and ready-to-go from the moment I install the OS!

    • @Artimidorus
      @Artimidorus 11 месяцев назад +4

      So you are one step closer to having all zero clients, like we use with Vmware and Windows machines where we have one "Golden image" and everyone who signs in gets a clone of that image. ^_^
      Or in Windows where you have start-up scripts that map all your drives/printers/syncs your desktop/documents, etc. Very good.
      I'm all about one step setups, they take a bit of time to get configured the first time but the ease of use is great. If this avoids a lot of license costs, this could be a great idea for a lab environment where we need to rebuild a test system often.

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

      Have you ever tried GuixSD? Im really curious to know an opinion of GuixSD from a NixOS user.
      Im thinking which one to choose.

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

      Big deal! I can blow out my MacBook and resurrect it back in a few minutes once MacOS is installed. All my files are replicated across all my Macs, iPads and iPhones. I don't need to learn a programming language to do it. You Lintards really like making a big deal out of nothing. Your OS and software are inferior, yet you keep polishing Linux Turf. Get laid and get a life!

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

      You tried in vain, although you are absolutely right. He won't understand a damn thing you said)))))))

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

      @@Artimidorusyeah but windows updates are a bear and always break my stuff. So, there’s that.

  • @TitusTechTalk
    @TitusTechTalk Год назад +443

    Lol, we launched a NixOS video on the same day. I had a blast using this as my main distro for the last month. Next up... Debian 12.

    • @TheLinuxEXP
      @TheLinuxEXP  Год назад +124

      Hahaha yeah, I saw that 1h before I published, I finished my video 6h ago 😂
      Great minds think alike! I loved my time with Nix, and it’s definitely going to end up on my main editing rig!

    • @nicolasdesenvolvedor1642
      @nicolasdesenvolvedor1642 11 дней назад

      Hi titus

    • @Sudoakado
      @Sudoakado 9 дней назад

      Debian 12 with Nix package manager?

  • @Ryan-uo3ep
    @Ryan-uo3ep Год назад +323

    I started using NixOS a few months ago and the moment that made me realize how powerful it is was when I added
    gnome.enable = false;
    plasma5.enable = true;
    to the config and rebuilt then my whole system switched to KDE without any issue, it was like magic.
    Since then I've started learning how to use flakes to setup dev environments inside of every project I have that way I can use direnv to automatically load the flake with a shell environment with all the dependencies (and the right versions too) for that project when i cd into the directory or open it in vscode.

    • @floor_3d
      @floor_3d Год назад +20

      Agreed. Super awesome to just cd and have direnv do the rest. Also super nice that they have flake templates on the github so making a rust project or something takes like 20 seconds total to set up

    • @FengLengshun
      @FengLengshun Год назад +12

      I prefer to just comment out stuff over marking something as false ngl. Also, IMHO the most powerful aspect is when you use home-manager... and then use that one config file to recreate all your configs through all your devices. It's great.

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

      I have been haling problems setting some programs over NixOS.

    • @davidwayne9982
      @davidwayne9982 11 месяцев назад +13

      I love the sound of that-- especially the gnome enable-false!!! That should be in ALL distros.. :) (sorry, but I just HATE gnome).

    • @saptarshibhattacharya2505
      @saptarshibhattacharya2505 11 месяцев назад

      Well how is it different than something like pipenv or npm?

  • @damnhatesyou
    @damnhatesyou Год назад +279

    I’m glad this distro is finally getting some recognition from a lot of the big guys.

    • @AyushGupta-wn6zd
      @AyushGupta-wn6zd Год назад +39

      Idk man I'm 6'4 and this is the first time I'm hearing about this

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

      I resent Nick being described as a big guy. He is pretty svelte if you ask me.

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

      @@roku1 he is big where it counts 😉

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

      @@AyushGupta-wn6zd 6'2 reading the manual third day in a row

  • @randompersson
    @randompersson Год назад +94

    You can even have multiple channels in use at the same time! Most of my packages are from the release channel but a few are from unstable and it works flawlessly.
    It's not a perfect choice though, because for the rare few packages that are unavailable in the repos it's not simple to build your own package initially and it's also unlikely to work with a prebuilt executable because linking works differently. But overall, it's an amazing distro and I have my eye on SnowflakeOS which is meant to be a more user friendly, GUI centric flavour of NixOS.

  • @hidekxyz
    @hidekxyz Год назад +40

    I find pretty interesting the whole theory behind Nix and NixOS concepts, the original Eelco Dolstra thesis how can we apply the functional programming concepts into a operating system, and problems found in software development such as side-effects and mutability can also be found in deploy systems, and thus Nix and NixOS becomes sort of a "programming language" but for managing systems, where expressions and functions evaluates to a systems state (declarative way). Whereas using normal operating systems like Windows, Debian or Arch are like doing everything in a imperative way.
    This solves many issues but also introduces a new abstraction layer between you and the system and some engineering problems, the project has actually evolved a lot and developed new tooling such as Nix flakes, but being officially stated as "experimental" divides the community into two large chunks of people (those who use it with the new "nix commands", and those who are using old tooling which has some issues)
    Also, a lot need to be done to make these concepts easier to grasp for new people to learn, documentation can be better. Also, the declarative way of configuring systems in only one place can be done through a GUI which edits the configuration.nix file and applies then for the system.

  • @DrathVader
    @DrathVader Год назад +141

    This could be just me personally but man, you're nailing those videos lately. The last couple of videos have been about perfectly what I was interested in or currently testing. Great work!

    • @TheLinuxEXP
      @TheLinuxEXP  Год назад +39

      Thanks a lot! I’ve been putting a bit more time into trying to find topics that really have some potential (and also that interest me), and I’m trying to up my editing game a bit as well!

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

      @@TheLinuxEXP It's definetly appreciated! Watched some older videos recently and you can see just how much you've impreoved

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

      I concur. I've generally enjoyed this channel for about the past year, but it seems like he has upped his game recently.

  • @xard64
    @xard64 11 месяцев назад +66

    This kind of "configure once and clone for free" is so valuable feature in corporate environment that I cannot overstate it enough. The ability to reproduce very quickly known working OS installations with all needed tweaks across different hardware is badly needed in servers, virtual machines, office computers and pretty much everywhere.

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

      Right? I've been thinking a lot about how you'd go around building a sustainable business out of this. So far I can say it's a lot of work, and I mean a lot :) You'd think things are 90% of the way there, well yes maybe, but also all the plumbing is there and none of the porcelain - app stores, the sync / update / upgrade actually working well (without CLI), graphical config, tuned hardware support (10 hour battery life), tuned prebuilt modules to support cloud remote desktop infra on various providers, security, automated ISOs ...
      Same line of thought for consumer desktop OS that works really well, perhaps on a small curated set of hardware. Also so much potential and also a lot of work.
      Certainly the tech brings so much opportunity to build on top of it. I hope people go wild, be successful and we see some amazing products out there in a few years.

  • @taylorkoepp3048
    @taylorkoepp3048 Год назад +78

    I want to know how you get on if you do switch. A 'six months using NixOS' video sometime in the future will be interesting.

  • @mirage809
    @mirage809 Год назад +56

    Nix looks incredibly powerful, A tweaker's dream system perhaps. The amount of control one is given is incredible. All while remaining manageable and not getting too crazy complicated. The average user probably never has to touch these tools, but for an advanced user that likes to tweak things this has all one can desire.

    • @pmarreck
      @pmarreck 11 месяцев назад +6

      Been on it for a year and a half so far after going, hmmm, ubuntu -> manjaro -> popos -> arch. It really feels like the "Ultimate" Linux, the "final distro hop" for me.
      The nice thing is that normally, Linux is so configurable that it is easy to get yourself into a situation where you are screwed because you've created an untested state/configuration, but thanks to nixos's features, you are protected from that... which basically means you get both the massive configurability of Linux but WITHOUT having to pay the (quite severe IMHO) cost of the risk of screwing things up since it's all declarative and you can rollback atomically and at boot. So you get the best of all OS worlds basically. For example, in any other distro I would have NEVER messed with things like Plymouth or changing the boot loader or switching window managers, etc.... because I would have been afraid of being hosed at boot and having to go through the pain of booting off a USB key and spending a day troubleshooting and fixing it. Now, I have a neat animation at boot thanks to a declarative Plymouth config! AND I tried a few other window managers without any issue! AND I have ZFS on root which I wasn't able to get working reliably in any other OS but Ubuntu... but even there, it eventually slowed down to a crawl whenever I did an apt update because it made ZFS snapshots every time in order to enable rollback from a bad update, which is of course completely unnecessary in NixOS =)

  • @jacksonbaker2505
    @jacksonbaker2505 Год назад +196

    This is actually crazy. I installed Nix-OS for the first time yesterday. I've had a blast learning about how to set it up and I've just been building my own little system and all of a sudden this video gets posted. This could be a sign that Nix-OS will be my forever distro of choice.

    • @jjuarez83
      @jjuarez83 Год назад +10

      Chris TItus also published a NixOS video today

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

      @@jjuarez83 ikr.... first i saw titus posting this.. and then him...

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

      This is all an Illuminati conspiracy 😂

    • @2greenify
      @2greenify Год назад +7

      "my forever distro of choice" ... Famous last words, though the same untill I watched nicks Debian video last week 😂

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

      @@vaisakhkm783 Same

  • @Xenonuxium
    @Xenonuxium Год назад +20

    The learning montage was amazing.

  • @StarfoxHUN
    @StarfoxHUN Год назад +99

    Honestly seeing this concept of 'restoring the system from a config file' sounds so great i wonder why not more OS have this in the first place.

    • @TheLinuxEXP
      @TheLinuxEXP  Год назад +20

      It really makes a lot of sense!

    • @framegrace1
      @framegrace1 Год назад +29

      System admins been doing this for ages... just from the "outside" and works for any distro. (Ansible, puppet, salt...)
      Also gentoo was sort of the same, but even more complex :)

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

      In order for nix to work, it needed to do a lot of tricks which it's no easy, also, Nix does follow the FHS pattern entirely, which makes you needing to package the software in the "Nix way" in order to run it, since our applications and programs do a lot of side-effects on the system which Nix is against it

    • @FengLengshun
      @FengLengshun Год назад +11

      Because it is very, very, very difficult to do. NixOS as a normal user is simple and beautiful. Once you start to get into overrides, flakes, and other configs? It starts to get messy. The NixOS packages undergoes a LOT of testing to make sure that everything is always build correctly. And when they declare dependencies? It's done through modules -- that means, it's not just one module have to be right, EVERYTHING has to be right and will build reliably.
      Imagine if AUR PKBUILD references other PKGBUILD directly, and have a requirement to always build correctly and reproducibly. And yet, anything less could mean your system fails to build. The maintainers has done a lot to make it seem so simple from user perspective, despite how it's still quite complicated to get into.

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

      Alpine has /etc/apk/world
      (but this will only back up the packages you want installed. Not your configs and stuff

  • @egorandreevich7830
    @egorandreevich7830 Год назад +34

    I should mention for those who want to install the nix package manger in other distributions. Hardware acceleration is not officially supported on non-NixOS distros because it is not reproducible by modern gpu designs. There is a nixgl, but it is not very well tested because the developer needs access to different hardware types. It also feels hacky from the user's perspective.

  • @FengLengshun
    @FengLengshun Год назад +46

    Also, you can use home-manager to manage your nix install on other distro, and to use several options that can be used to manage user-level configs and home files. NixOS have really changed how I use my device, and now, I pretty much do declarative everything... home-manager, ublue-os, conty, even flatpak to some degree.

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

      Also, sheesh, anything longer than a paragraphs really starts to get potentially auto-removed by youtube for some reason. Dunno why this happens only on Linux channels, but man, I wish I know what's the limit other than a general "keep it visible on mobile".

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

      I'm glad you mentioned ublue-os. fedora's idea to use docker/podman/oci containers as the source of your base os (and future work on bootc) is game-changing IMO. I always wondered why folks were investing so much in immutable distros but now they make so much sense.

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

      @@lordofla Yup. To prove how right they were, even Microsoft is slowly trying to containerise everything. From app, and if possible, to their OS. As usual, they steal ideas from Linux that many Linux users didn't even look too much into.

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

      Indeed, the possibilities are endless. My user config shares a common home-manager config for all my Linux systems and a Mac, for the latter I just include only the compatible parts, and in some cases it even filters some nix expressions (at build time) from the config to make it suitable for Mac. So any config change can be applied to all systems with just one commit and one rebuild (per system). With flakes you can even directly switch from your git repo (without manually downloading anything)

    • @mayorofnow
      @mayorofnow 7 месяцев назад +1

      Any thoughts on choosing u-blue vs nix for someone who is comfortable with git/CLIs, but had historically used a Mac?

  • @Linux_ASMR
    @Linux_ASMR Год назад +178

    After all these years experimenting with Linux, it finally happened, The Linux Experiment channel finally released its own Linux distribution: Nick's OS.
    Jokes aside, NixOs is an interesting concept. Having your Linux configuration backed up and available to take with you however you like seems pretty neat.

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

      Ironically, that actually happened. GNU GUIX (pronounced 'geeks') is very much influenced by NixOS. Except instead of a DSL language it uses LISP Scheme Guile so the learning curve is higher. NixOS uses Systemd while GUIX uses GNU Shepherd. An all Snap version of Ubuntu is coming soon. Other immutable systems are out there as well, each a bit different design but sharing many of the same benefits.

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

      @@matthewstott3493 A part of me really wish they used yaml or at least accept that through a module of some sort. I really liked the design of fleek, and it would have made things simpler for people to learn, but fleek is very limited right now and I feel like the main user-facing nix config, at least, could've been made in that easy-to-read playbook format.

    • @andrewnorris5415
      @andrewnorris5415 11 месяцев назад

      LOL !

    • @psikogeek
      @psikogeek 11 месяцев назад +1

      oh.
      NOW I GET IT....

    • @skelebro9999
      @skelebro9999 11 месяцев назад +2

      now i cannot unhear it. thanks.

  • @BrianMcKennaPuffnfresh
    @BrianMcKennaPuffnfresh Год назад +15

    I've been using NixOS for 9 years! Absolutely love it. Run it on everything. Servers, desktops, game consoles, ereaders, phones. Everything!

    • @vpxc
      @vpxc 11 месяцев назад +1

      A measly 6 or 7 years here ;)
      once NixOS clicks, it sticks!

  • @dexgaming6394
    @dexgaming6394 Год назад +28

    This method of having a configuration that stores the packages you installed could mean that other people could make their own "spins" on the distro.

    • @starlederer
      @starlederer Год назад +5

      NixOS by default doesn't actually have much. You are supposed to make you own spin and the Nix package manager helps you do it

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

      Yes, this I imagine is where the inspiration for ublue-os comes from. You can just... declare everything through a text file, and it'll build an image for you. It's practically is a custom distro, as I manged to build a ublue-os based on Kinoite but with WhiteSur theme and default layout, plus all of my preferred configs generated by default thanks to skel files.

  • @Morphishful
    @Morphishful Год назад +39

    I've had a great time using NixOS on my work computer.
    My basic setup is to use NixOS for the system and DE, then everything else is run as Flatpak.
    Best of both worlds. Unbreakable base with unlimited rollbacks, plus up to date desktop software updated independently of each other.
    It's like a dream come true.

    • @TheLinuxEXP
      @TheLinuxEXP  Год назад +8

      That’s definitely how I would use it as well

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

      I do that for my gaming pc except I use home-manager instead of flatpak to install all my user specific programs independently and declaratively. Either one probably works great though.

    • @stevethepocket
      @stevethepocket 11 месяцев назад

      "All apps are installed through flatpak" (specifically Flathub) seems like both a really desirable setup AND a great way for a new distro to offload a huge chunk of the (ultimately redundant) work that goes into maintaining their repo. Surprised I haven't heard of any distros that are set up to work that way.

    • @TheThetobias1997
      @TheThetobias1997 11 месяцев назад +1

      ​@@stevethepocketi don't know if that counts, but as far as I know steamOS for the Steamdeck is set up in this way

    • @gabrielgian6207
      @gabrielgian6207 11 месяцев назад

      Too bad dbus-reliant Flatpaks are broken on NixOS and won't launch (like Loupe, for example), and some are shittily made like Slack, which for some reason can't find my Adwaita cursor, so I'm stuck using the one from Nixpkgs.

  • @alisdair42
    @alisdair42 Год назад +51

    Intresting to finally understand what Nix is all about, hope it stays relevent and that other distro's take from its ideas about simple deployment, and rollback capeabilities :)

    • @TheLinuxEXP
      @TheLinuxEXP  Год назад +13

      I Hope so too! It’s not super easy to use at first, but the concept is really cool!

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

      They are - ublue-os have stated some Nix influences, even if they use a different principle in the way they did things, and VanillaOS is working with them to bring the same workflow to their OS. Also, both of them are huge fan of Nix and makes installing the package-manager easy on their distribution. The idea of reproducible, declarative, immutable OS with easy rollback and deploy is slowly being adopted by many, and Nix is definitely an influence.

  • @agh0x01
    @agh0x01 11 месяцев назад +2

    Nick talks about all the config being in a single file but actually you can make your config modular and use as many files as you like, which can be conditionally included based on the hostname or some other characteristic of your system. That's how I manage config for multiple machines (including specific differences for each) in the same git repo.

  • @Fenrasulfr
    @Fenrasulfr Год назад +15

    I think their configuration file idéal is really good and will be much easier to backup. But I do think for more adoption they will need a simple to use gui option.

  • @notuxnobux
    @notuxnobux Год назад +22

    I think that Nix OS is technically one of the best, if not the best distro. I tried it a few years ago on my laptop and I said that I would switch to Nix OS if my arch linux broke and I couldn't fix it in 5 minutes. However, since arch has been easy and quick for me to fix I have yet to switch to Nix OS.

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

    Very well done, hands down the best summary by a "Linux mainstreamer" (by no means meant in a bad way! I enjoy your videos even as a veteran!). It focuses on the actual main points. For part 2 home manager and the concept of devShells would probably round out the main benefits. As low hanging fruit: real configuration management simply by keeping your config in git. Also a huge benefit: you can comment your configs with things learnt/problems solved, so on the long run you'll never have to research the same solution a second time: a well invested learning curve, even when steep.

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

    Thank you for picking up on this distro & evaluating it!

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

    This looks amazing ! I'm definitely giving this a go. Thanks for this video.

  • @norahclarissa6352
    @norahclarissa6352 11 месяцев назад +7

    Random note: Nix syntax is based on Haskell, a purely functional general programming language. The word "function" used in procedural languages usually means "procedure". Functional (or purely functional) language families aim for the same reproducibility (proof of correctness), immutability (resilience and consistence), declarative style and isolating anything that has side-effects into the smallest tiniest possible attack surface that can't be validated by machines-algos but are easy to peer-review by humans (side-effects = modifies the "universe" in any other way than just being returning a deterministic result ofthe same arguments).
    Honorable mention for Guix, from the GNU, which uses Guile, a Scheme language (Scheme is a LISP cousin but with pure functional orientation, while LISP allowed for side-effects)

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

      I appreciate this explanation, TIL! I've heard of functional programming and Haskell before, but always struggled in seeing how they are different in approach/nature to more conventional types of programming.

    • @0LoneTech
      @0LoneTech 5 месяцев назад

      As a Haskell programmer... I have no idea how they came up with the Nix syntax. It's alien.

  • @WilburJaywright
    @WilburJaywright Год назад +20

    Last video: “Linux needs a system backup tool.”
    Me: “I write a bash script to set everything up for me on system install, so ye?”
    NixOS: “I am three parallel universes ahead of you…”
    TYJ for Nix!😊

    • @Kokuraman
      @Kokuraman 3 месяца назад

      Thanks for the TYJ! Made my day!

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

    Very great timing on this one, I just installed nix yesterday. Great job nick!

  • @rubik2x2x2
    @rubik2x2x2 11 месяцев назад

    This does seem really darn cool! Thanks for the great information and entertaining delivery :)

  • @Ryan-ff2db
    @Ryan-ff2db Год назад +21

    NixOS is not the next arch. It is an entirely different monster. Once you understand how it works it's both easier and more stable than arch ever was, not to mention far easier to recover if something goes wrong. However, a major drawback of Nix and something arch does well is documentation. NixOS seems to be improving on this but it still has a long way to go. Also configuration of some applications can be difficult, mostly because documentation is lacking.

    • @showlottathings
      @showlottathings 11 месяцев назад +1

      Arch was never stable at least in terms of updates, which for me regularly break every 3 months.

    • @Ryan-ff2db
      @Ryan-ff2db 11 месяцев назад +1

      @@showlottathings Yeah, that's pretty much my experience as well. You can set it up to back up/snapshot and save most files to git-hub for when something goes wrong because it will. But NixOS is so much easier in this regard as automatically does this. It turned out I was spending almost as much time working on tinkering/recovering/updating/etc.. then actually getting any work done. If that's your thing fine but I'd rather have a stable system with automatic back-ups whenever anything changes that can be duplicated across all my systems at the same time. NixOS excels at this.

    • @9s-l-s9
      @9s-l-s9 11 месяцев назад

      Yeah, documentation for Nix is super strange imo. I switched to Guix and it's way easier.

    • @Ryan-ff2db
      @Ryan-ff2db 11 месяцев назад

      @@9s-l-s9 Correct me if I'm wrong, but I thought Guix is a package manager? I've never used it so I'm not very familiar with it. Nix is both a language and a package manager but NixOS is an OS. Strangely this actually makes looking up questions about NixOS a little more difficult as often searches bring back results about the package manager and not the OS.

    • @2xsaiko
      @2xsaiko 11 месяцев назад

      ​@@Ryan-ff2db There's also Guix SD (or is it Guix System now?) which is an OS.

  • @rubenroia7608
    @rubenroia7608 Год назад +8

    I've installed NixOS yesterday and I am amazed.
    I'm starting to understand the home-manager and flakes... Everything around NixOS looks awsome.
    I'm just having an issue installing a proprietery trading platform (that works natively in linux.. I've used with other distros).
    I'm still trying to figure out to solve this...
    I hope I can make it. I'm having such a great experience that I don't want to go back to other system :D

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

      can you describe your issue in a little more detail? i’ve been using nixos for about 6 months and i might be able to help

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

      Resort to distrobox?

  • @thomas.alexander.
    @thomas.alexander. 8 месяцев назад

    Great overview. I've been trying it for two days now and I'm hooked

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

    Thanks! NixOS review is exactly what I've been asking for, amazing vid!

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

    Solid video, been using nix for last 1.5 year and it has been very good. 40 flatpaks, just steam and game things. Best part I didn't have to build xanmod kernel it came from the cache server. Did build those my self on arch(btw). Right as the nixos needs more funding and support from community the video could not have been at a better time! at the release of nixos 13.05 =).

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

    I use GNU Guix btw
    (and it's so much cleaner, simpler and better documented)

  • @i.8530
    @i.8530 Год назад +2

    One neat thing about Nix that I've been enjoying a lot is the ability to try out packages, without installing them at all! The "nix-shell" (or "nix run" if you use flakes) command temporarily adds a program to your current shell session, and when you exit its gone. That, together with being able to share my entire systems configuration on two NixOS machines and a Macbook, makes it the perfect distro for me :)

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

    Very interesting approach, thanks for reviewing it.

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

    ROFL the learning montage, great as always Nick, as a dev this does sound very attractive

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

    The thing I think not mentioned in video, is that you can edit the config using any text editor, including VSCode. You only need console for running rebuild etc

    • @gotoastal
      @gotoastal 11 месяцев назад

      But your editor of all things should be free software which VS Code is not. Tracking… in my editor… I think not.

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

    Nick, Thanks for this walkthrough on NixOS. I have had this on my radar from listening to the guys over at Jupiter Broadcasting. I might be looking to get into this in the future and having this a as an intro is helpful. Much appreciated.

  • @TobiasFrei
    @TobiasFrei 11 месяцев назад

    Many thanks for this.
    Just happened I installed NixOS on a RPi 3 yesterday and was all pleased.
    + thanks for mentioning Tuxedo 🐧

  • @ariseyhun2085
    @ariseyhun2085 Год назад +14

    Happy to finally see a video about it from you!
    I've been using it for many months now, and its pretty great, and super stable! But the nix language still seems way more complicated than it needs to be, and they really could've avoided making their own language I think.

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

      I find it very legible, but I will need to look online to see how to write my config file on my desktop

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

      GNU Guix System is based on a fork of the Nix package manager that uses the Scheme programming language. You get to use a REPL based development workflow for your config. Much more experimental/messy than Nix though (e.g. you don't get the default Linux kernel, you get Linux-libre, you can't roll-back per package that easily; etc.) so I don't recommend it for most right now.

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

      ​​​@@KabeloMoiloa there's an unofficial repo called nonguix, which contains the default Linux and some other nonfree or otherwise problematic stuff (like Firefox with its weird trademark situation)

  • @13thravenpurple94
    @13thravenpurple94 Год назад +3

    I always love when Nick-OS post a new video

  • @paullee107
    @paullee107 11 месяцев назад

    I wanted to reply because.. I’m an internediate+ Linux user starting with nixOS. Your video answered ALL my questions - with just enough info to let me learn the rest MY WAY. You helped me understand configuration.nix vs nix-env. I finally understand what flakes can be used for. Most importantly, I now know that I want to use home-manager. Even after my little nixOS use, I think it’s going to be my new way forward. Great content; your videos are awesome for newbie to power(-) users!!

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

    I will try it. I have heard of it and I know I have the iso downloaded. Thanks Nick. Great lesson again.

  • @rutgah8214
    @rutgah8214 Год назад +5

    Always a good day when Nick uploads

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

      I wish I could do so everyday!

  • @Chris-ib8lw
    @Chris-ib8lw Год назад +3

    Been using Nix for a little while. It's the defacto OS on my MS Surface and main gaming desktop.

  • @sergioruocco6181
    @sergioruocco6181 11 месяцев назад

    Great exposition and amazing summary of the features! The reproducibility and the reversibility of the installation are KILLER FEATURES for developers and workstation users ! And image what issues solved for embedded systems !

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

    Gotta say, I've been getting into Linux the past couple months, and this here, looks friggen amazing.
    Great video showing an overview of everything. Definitely going to look into Nix OS.

  • @meowcula
    @meowcula Год назад +15

    this is definitely cool. love a distro that actually adds something unique, rather than just ricing debian or arch and calling it a day.

  • @MyReviews_karkan
    @MyReviews_karkan Год назад +13

    Man, this is too much work for a lazy man like myself.
    Also, I absolutely love how their package manager can be installed on other OS's beside Linux. Just like a boss 😂

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

      Hahah yeah it’s not for people who just want a plug and play experience! It becomes plug and play for any system after you spent time building your config

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

      I might actually mess with it in a VM and see if I like it. Thanks for explaining it the way you did, Nick. It actually never made sense to me until I watched your video. Much appreciated 👍

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

      Matthew Croughan mentioned a friend of his who installed the nix package manager on arch, then installed pacman using nix!

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

      @@roku1 Inception of Package Managers!

  • @arturk9181
    @arturk9181 9 месяцев назад +1

    Hmm very interesting. I will defo checkout the distro! Thanks!

  • @bicicogito989
    @bicicogito989 11 месяцев назад

    THANKS, Nicolas!!!! You, your channel, simply keeps on getting better AND better as you've progressed! Bravo!!!
    Now, with this intro of NIX OS, it may be time to sever my time with Fedora (and RedHat) and take a serious look here. Much appreciation!!

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

    Like that nix is getting recognition it deserves. I recommend you to dive deeper to new nix commands (not using nix-env), configuring system as flake and system's partition using disko 😉

  • @thingsiplay
    @thingsiplay Год назад +13

    This is a very compelling system. I never looked into Nix closer, but the way you describe it is something I will consider. The complete and reproducible control, with the states I can go back; man that's a dream. But how does it compare to other immutable distros? I think the single config file for reproducible installs is the killer feature others don't have. Super interesting.

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

      I am considering using nix (the package manager) since I used to daily drive NixOS.

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

      @@socvirnylestela5878 But then you have two competing package managers for the system. I am not sure if that is what I would go with. I didn't consider using nix on other distros than where it is native to.
      How does it play with the rest of the system? Because of the immutable nature. Really need to read more about, that's confusing to think about. :D

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

      ​@@socvirnylestela5878If you do it that way, you cannot rollback because you're using imperative on an a declarative system.

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

      The differences between NixOS and other immutable distros are basically.
      1. NixOS is completely immutable, most others have at least /etc read write, on NixOS you manage that through your one or more config files as well.

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

      2. Rollbacks regardless of filesystem, you can use ext4, xfs, whatever, you're not limited to one, unlike in other immutable distros which all use Btrfs.

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

    Love your passion Nick. Fun to watch.

  • @FunkyDeleriousPriest
    @FunkyDeleriousPriest 11 месяцев назад +1

    Glad to see this video recommend on RUclips! I've been using NixOS since 2017 It's mostly been a good experience. Hoping more people catch on to it's cool features and unique approach to system building.

  • @speedytruck
    @speedytruck 11 месяцев назад +4

    It's a neat concept, but ultimately I think rpm-ostree is more approachable in that regard. It also lets you define your operating system in a Containerfile (some call it Dockerfile) the same way you do with any container. And then it can be easily reproduced. I can see why Guix/Nix would be appealing, but the industry has moved to OCI containers. And rpm-ostree allows you to use this same technology for operating systems!

    • @genericgamer1319
      @genericgamer1319 4 месяца назад +1

      yeah but Nix is reproducible docker is not
      hell Nix can even build your OCI image to make it reproducible & therefor not shitty

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

    Great introduction video to NixOS! I would love to see a follow up video of your longer term usage thoughts (maybe creating a more modular config?), and/or going into more depth on less documented information and tools, like flakes and new nix command (nix-env -iA is not recommended anymore 😅).
    One warning I will give potential users is that it can be tricky to know if an issue is due to Linux or NixOS. For example, you cannot simply run a binary you download from the internet without some work.

  • @Walking-Wanderers
    @Walking-Wanderers 11 месяцев назад +1

    As a user of Linux since discovering Redhat in 1996 why have i not switched to Nixos already? A great video. Thank you, and I love your comedy moments. Makes me laugh😅.

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

    7:12 great video! This transition made me think something fell in my house though 😅

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

    I will throw a rock, and there's a 69% chance that it'll hit someone who's trying to build a GUI for nix configuration file

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

      Hahaha yeah that’s very likely, but I don’t know how this could work!

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

    Thank God finally a distro with independent dependencies.

  • @Mikesco3
    @Mikesco3 11 месяцев назад

    I finally really liked one of your videos.
    I had heard and tried nixOS in a VM, but your communicated really well the advantage is car scenario...

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

    Excellent review! I need to give this a try. I mean, urgently! Thanks much, Nick! 🙌

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

    Been using it for a while now, solid experience even on the unstable branch

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

      IMO unstable is the best choice, if something breaks just roll back

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

      @@formbi and it hardly breaks anyway

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

      Ofborg do be great

    • @a-starry-sky
      @a-starry-sky Год назад

      absolutely! unstable on my laptop and 23.05 on my server. Documentation is sometimes lacking but otherwise really really happy

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

      You can even run stable and unstable together, so if you want you can boot into stable, and then reboot into unstable, pretty cool idea, you can basically switch between running a fixed release and a rolling release.

  • @FatDawlf
    @FatDawlf Год назад +7

    I love seeing these amazingly powerful distros
    But I think I'll stay in arch for like... Forever
    I know how to use it and it just works, I don't see the need for generations or constantly needing to edit the config file, I already have enough configuring my hyprland setup

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

      Hah, the joke is you only have to edit the config file once. I have mine setup down to the configuration of my browser, my bootloader, my editor, the Nvidia drivers and the exact set of apps I use etc. It’s so stable I even use it’s automatic update option. It’s one of only three distros I trust with unsupervised full system updates.

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

      It's precisely because of the annoyance of config files that I use nix. In nix there is one config file. In other distros there are dozens to keep track of / bug-fix. I hate configs. I love nix.

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

    Was really glad to see this video pop up! Have been using it for just shy of a year and it is a tweakers dream indeed. Or nightmare if you get too much into it, as the nix language being purely functional is unlike anything I've ever seen, especially to do advanced modules 😅
    And being a package manager that can be installed on any other distro I think it has potencial to be the packaging solution linux has always struggled with.
    I'd say it's about time for some graphical tools to integrate with it because besides the steep learning curve and requiring the CLI I'm hard pressed to find any downsides.
    Maybe Guix could be doing some things better as it uses a similar approach to packaging but has a different philosophy for some things, but I couldn't tell as I never got into it

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

    Thank you sir. I like the video and you're awesome man👍 . This distro is well actually teach the new person to Linux quite a lot about how config files work and Linux in general. It's great for having on a small spare drive to call it up when you feel adventurous. Then you can just use a separate distro for daily driving.

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

    Now more "BTW I use NIX" ❤

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

    Omg mom! I'm on TV! (very, very indirectly)

  • @MahmoudAbduljawad
    @MahmoudAbduljawad 11 месяцев назад

    Best NixOS intro I've got to date. I'm glad you shed the light.

  • @k.b.tidwell
    @k.b.tidwell 11 месяцев назад

    Great video. I've been all-in on Linux about four years now, and I've had a lot of fun distro hopping and tweaking my systems. But after all this time, maybe I'm getting burned out on the endless tweaking and adjusting. Having lost count of all of the deb-based, arch-based, fedora, gentoo, SUSE and all the rest flavors, including the source distros, I've gotten very friendly with the command line. But now I actually need to get productive work done, and my work isn't in the development field lol. You can't know how much I wish I'd known about Nix when I started out so that the setup duplication across my five laptops would have been so much easier!
    When I finally have time for basic raw experimentation again I'm going to learn this inside and out. Right now though I'll have to stay with what I've already established. I enjoyed the video!

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

    If you think NixOS looks interesting then also have a look at GNU Guix! The two are very similar in principle but have a bunch of nuanced differences. I think for tinkerers GNU Guix may have the edge as it is configurable with the powerful and easy to use Lisp dialect Guile.

    • @gotoastal
      @gotoastal 11 месяцев назад +2

      Guile and LISPs are what scares me from it. Nix is an ML which is more readable and ergonomic to me than that pile of parentheses.

    • @burlydugong4851
      @burlydugong4851 11 месяцев назад +2

      ​@@gotoastal I understand that! My favourite language would have to be Haskell and my preference towards ML-like languages definitely carries over to Nix. I also learned Haskell before Lisp! But once I learned Emacs Lisp, the pile of parentheses started to make sense and I saw how absurdly powerful Lisps are for interactive systems and as configuration languages. Regardless of whether you're interested in GNU Guix or not, if you're interested in programming languages, I highly recommend checking out a Lisp or two as they are very unique!

  • @06kellyjac
    @06kellyjac Год назад +2

    If you count non-unique packages (so packages at least one other repo has, helps filter out some cruft pretty much no-one uses) nixpkgs has more than the AUR 🚀

  • @user-vh8cv2rg6w
    @user-vh8cv2rg6w Год назад +1

    I am also trying it for the first time this week. A few hiccups but liking it so far.

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

    Fantastic description. Really appreciate the video, Nick.
    It would be great to have a similar, perhaps shorter video on what nixOS means for Docker images. I do understand that may not be your audience though.

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

    NixOS is awesome, but docs sucks they seriously need something like Arch Wiki , if you creating a distro which is so different than other distros, good and updated docs is must. Recently I was trying to build software written in Swift and it was horrible experience, so it is good untiil you are trying some exotic stuffs

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

    You got me in the first 2.5min.
    But if I switch to NixOS, I can't say "I use Arch, btw" anymore :(

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

      I use NixOS FYI

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

      I use NixOS fyi

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

      Alright, y'all convinced me. I'll switch to Nix when I inevitably break Arch catastrophically.

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

      @@lapin_noir Okay see you in 4 minutes

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

    Wow! Absolutely worth my time watching this, as a home lab owner i always configure some basic things like MySQL, Apache and stuff, i just found out about NixOS and NixOPS which will make this process even simpler than setting upp a template from a VM or LXC/LXD container. With the correct configuration i can just backup a single file and with NixOPS just deploy a new machine that meets my requirements instantly. A huge eye opener for me.
    I'm going to try and replace some Ubuntu machines after playing around with this some more, just to get the feel for what I'm doing, forget about docker and all other unnecessary configurations in my home lab and just dive straight in to NixOS 😀super simple to get things up and running.

  • @alanjrobertson
    @alanjrobertson 11 месяцев назад

    Very interesting concept, feels like a dockerfile approach but to a whole OS!

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

    Nix kind of isn't really a package manager. It's more like a build system, and NixOS is "just" a single absurdly configurable package. You can technically build NixOS on any system with Nix installed, but naturally it's hard to actually install fully without overwriting the existing system.
    Using NixOS honestly gives me a similar feeling as Rust in a key way: both provide heavy restrictions on how one can do something, but those restrictions also allow me the freedom to do things that I probably wouldn't dare attempt with other systems. Specific to NixOS, if i ever feel like tweaking my system, I can do that in a simple and reversible manner. If it doesn't work out, info the changes and move on; if it does, then i can trust it to work until that itch returns.

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

      Btrfs under Ubuntu was good for that before I switched to NixOS

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

    It's sad that their approach of handling dependencies is treated like devil's work by other distro devs like the Debian devs that really hate package bundles.

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

      Yeah, and people who don’t like Flatpak and other similar formats probably won’t like Nix as well

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

      What does package bundles mean here? Does nix do not install all dependencies separately?

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

      @@Daniel_VolumeDown A bundle would be a package with all the dependency references.
      It would fetch the onde it needs and can be shared as a single file without the repos. Just like a .flatpak file.

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

      Nix doesn't use package bundles, it has a /nix/store directory which contains all the packages you have, something like /nix/store/[long hash of the package]-emacs-28.2. Such a directory contains the typical dirs like /bin /lib /etc and so on and those dirs get symlinked together to create your user profile or system profile.

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

      @@formbi Yeah, but then how can I, the developer, provide a Nix package by myself?

  • @Danielo515
    @Danielo515 11 месяцев назад

    An awesome presentation of what looks like an awesome distro

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

    Very interesting approach to Linux system configuration --- it reminds me of the use of yaml files configured to a data model.... Thanx for the vid.👍

  • @franciszekopuszanski2906
    @franciszekopuszanski2906 Год назад +8

    I use NixOs btw.

  • @an-eios7125
    @an-eios7125 Год назад +3

    So... can we say that this is Nick's OS from now on? xD

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

    Damn, I thought nixos was some experimental niche distro but you just sold it to me, I'm trying it now.

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

      Yeah I also thought that, but turns out it’s old and very well established!

  • @Jubijub
    @Jubijub 11 месяцев назад

    thanks, that was a very clear explanation. I use Arch which I really like, but I like the idea of being able to 'script" a full install by design. Some features appealing are really appealing (like the rollback).

  • @aqua-bery
    @aqua-bery Год назад +3

    NixOS sounds so cool but my only 128GB drive says otherwise 😭

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

      It doesn’t use that much space if you clean up regularly :)

    • @aqua-bery
      @aqua-bery Год назад +1

      @@TheLinuxEXP Nah I meant with it installing new dependencies for every package would use up lots of space and I need many programs

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

      ​@@aqua-bery It shares dependencies between programs tho. It takes a bit more space than normal distro but still far from windows space usage

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

      I literally had a smooth experience on a 32 gb laptop. but thats probaly since i do most stuff web based

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

      @@aqua-beryit’s not an issue, just use a filesystem with compression and deduplication built in like btrfs and keep to like 5 generations which is plenty.

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

    I say cool beans 😢

  • @victor.wilson
    @victor.wilson 11 месяцев назад

    Thanks looking to jump into this hype ... Will recommend this introduction to more people

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

    I love your videos!!! Keep up the excellent work!!!

  • @garmar704
    @garmar704 Год назад +5

    Nix OS is Nick's OS. Ahhhhh

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

      Hahah I restrained myself from making that joke, maybe I shouldn’t have 😂

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

      @@TheLinuxEXP

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

      @@TheLinuxEXP You totally should have owned that joke. I am disappointed in you lol

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

    Recently the nixOS team has been facing severe problems with server hosting costs due to their sponsor being bought up. Look it up, it'd a big problem. If you could help them sort things out you should definitely help out

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

      They are not "severe problems". I don't know who started this false meme. The existing sponsor is coming to the end of the sponsorship, so they are looking at other options. The distro is not in any way at risk.

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

    Alright, you've convinced me. I'm finally gonna try it out.

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

    That was the very best explanation about NixOS I ever saw. Congratulations!

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

      Thanks a lot! I tried to be as simple as possible, but it’s not an easy concept to explain!