NixOS is Mindblowing

Sdílet
Vložit
  • čas přidán 15. 06. 2023
  • NixOS has blown my mind with how businesses are utilizing it and the job offers I have received for managing it. You need to learn it!
    Article: christitus.com/nixos-explained/
    NixOS Videos
    - First-Time Setup - • First Time NixOS Insta...
    - In-Depth Configuration - • NixOS Config - Autolog...
    - SystemD Tweaks - • NixOS Fast Reboots wit...
    - NFS Mounting - • NixOS NFS Mounting
    - Gaming - • NixOS Gaming Setup and... .
    ►► Digital Downloads ➜ www.cttstore.com
    ►► Reddit ➜ / christitustech
    ►► Titus Tech Talk ➜ / titustechtalk
    ►► Twitch ➜ / christitustech
  • Věda a technologie

Komentáře • 683

  • @ChrisTitusTech
    @ChrisTitusTech  Před 11 měsíci +105

    NixOS Article: christitus.com/nixos-explained/
    Titus Tech Talk NixOS Videos: czcams.com/play/PLgVG4PNqM5SbjFzePr_YZJKafNf_ngbq3.html

    • @univera1111
      @univera1111 Před 11 měsíci

      Microsoft is integrating copilot in their os. Copilot in each and every app. I'm sure they will add copilot into powershell. What do I need Nix command line and tinkering for.

    • @Redyf
      @Redyf Před 11 měsíci +17

      @@univera1111 bro enjoys getting his data collected 💀💀💀

    • @Hreimr
      @Hreimr Před 11 měsíci +2

      You lost me at flatpak - I don't see a use for something that the OS cannot see is installed. It's how viruses wants to be installed - with the OS completely oblivious to it.
      I dislike how integrated it is in SteamOS and how you cannot launch the lutris from command-line.

    • @RelentlessCuriousity
      @RelentlessCuriousity Před 11 měsíci

      Off topic possibly: Do a video on the 'virsh' command. Seems to be super powerful but slightly obscure.

    • @dimplick
      @dimplick Před 11 měsíci

      You need to use flakes!

  • @bstar777777
    @bstar777777 Před 11 měsíci +53

    I've been using NixOS for the past 8 months or so. It's completely changed how I manage my system. Everything has a learning curve, but once you get past it the rewards never stop flowing.

    • @fizipcfx
      @fizipcfx Před 2 měsíci +5

      i have a question
      does nixos being non-FSH compliant makes anything impossible or harder for you?
      I heard that this is a deal breaker for some people

    • @bstar777777
      @bstar777777 Před 2 měsíci

      @@fizipcfx It's not a problem for me because I have 2 fallbacks... steam-run and Distrobox. This has solved 100% of software/scripts that don't run out of the box on Nix.

    • @aemogie
      @aemogie Před 14 dny

      ​​@@fizipcfxpersonally faced no issues as just about everything I need is on nixpkgs.
      but if you have a binary that requires FHS, nixos has a builder function that just wraps a package in an FHS environment, which is the recommended way (this is how the official package for steam, android-studio works)
      but if you want to add back some DLLs system-wide, there's nix-ld. it just adds support for dynamic libraries the way it's done in regular distros (with the version incompatibilities and all, that nix is trying to solve. i recommend using it but keeping it to a minimum)

    • @fizipcfx
      @fizipcfx Před 23 hodinami

      I am going to answer my own question because i had used nixos for a while now. Most of the generalized stuff works out of the box without much intervention thats very nice but, development almost always get in my way. (Python c++ cuda) Either do everything inside docker, or you are gonna have to let the nix define the way you work. I have installed it on my laptop that i carry everywhere but i dont see it being my main development setup.
      I had to deal with these:
      - install every tmux extension through nixpkgs
      - install every python package through nixpkgs
      - forget using pyenv
      - migrate almost all of the dotfiles so that it is compatible with nix ecosystem
      - rollback is nice but it doesnt rollback your configuration so if you did so many successive changes without rebooting you dont really know which one messed up the system
      - nvidia support is ass
      Regardless, it was a fun learning experience.

  • @PS3PCDJ
    @PS3PCDJ Před 11 měsíci +37

    Migrated to NixOS some months ago due to not being able to make my old outdated NVIDIA GPU to work under Arch, but under NixOS it took 3 lines of config at I have been fine ever since.
    NixOS is truly amazing once you get used to it.

    • @Redyf
      @Redyf Před 11 měsíci +6

      Same thing for me, now i'm using hyprland with nvidia gpu on nixos with no issues at all. It's really good, but it took me more than 3 lines to set up

  • @guyclykos
    @guyclykos Před 11 měsíci +44

    I tried nixOS back in the nightingale release. It was a lot of work. Felt like it hadn't matured yet. Great to see it again.

  • @10a3asd
    @10a3asd Před 11 měsíci +358

    Many many years ago when I was first planning my move to Linux I researched a ton of distros. Based on my criteria and what I wanted from an OS NixOS was by far the winner. However, at the time I was severely lacking in technical acumen. As a result I ended up on Mint. After years of Mint I moved to Kubuntu, then KDENeon, all were less than great experiences... Finally two years ago I moved to Nix. It's so damn good and they have made huge improvements in the areas that made it previously overly technical to many users.

    • @merbst
      @merbst Před 11 měsíci +8

      (Note Bene, the following is not a brag, more like a "heh" is the proper noise if I were capable of majing it. Actually today is my 42nd birthday, which is too old to do anything.)
      I remember when I switched to Linux, I used Slackware on 3.5" floppies, because that was the only extant distro in 1997.

    • @Andre.A.C.Oliveira
      @Andre.A.C.Oliveira Před 11 měsíci +19

      @@merbst pretty sure Debian and Red Hat existed before 1997

    • @jeffrodrequez
      @jeffrodrequez Před 11 měsíci +6

      Good to know! I started down the "normal" Linux path like everyone else, distros years ago (and still, sometimes) then a year ago Arch with Window Manager, been running Arch + Hyprland for about 4 months now as my daily and love it. But I keep hearing/reading about Nixos more and more recently. Obviously jumping into something new there will be the learning curve but based on how you explained your experience, I am encouraged. I think I will check it out, thanks for the comment.

    • @stalkerscarface
      @stalkerscarface Před 11 měsíci +6

      Documentation should still be better, bigger and much more specific, I tried it few months ago and I couldn't figure out how to install nvidia drivers, I believe I followed their documentation step by step exacly, tried tinkering on my own, still couldn't get it to work.

    • @KEKW-lc4xi
      @KEKW-lc4xi Před 11 měsíci +3

      why not just use Arch?

  • @sergioquijanorey7426
    @sergioquijanorey7426 Před 11 měsíci +95

    I've been using NixOS for a year now. It's great but the main problem for me it's the lack of documentation in some parts of the project. Btw, using flakes (which are unstable but have been unastable for quite a few years) is really a game changer. Makes everything easier to configure and to manage in your daily chores.

  • @marcin6386
    @marcin6386 Před 11 měsíci +15

    "One config to rule them all" i absolutely love this kind of approach. Chris thank you for sharing your research. That's really cool ro know!

  • @kr8771
    @kr8771 Před 11 měsíci +48

    I am in awe to see this magnificent distro receiving so much appreciation. Thank you very much for your contribution in making NixOS more beginner friendly. I greatly appreciate it!

  • @chan.sorman
    @chan.sorman Před 11 měsíci +109

    Been using it as a daily driver for about 1 and half Years. I have found it to be shockingly stable.

    • @clocked0
      @clocked0 Před 11 měsíci +10

      @@chan.sorman Tbf that's surprisingly easy to do

    • @cenunix
      @cenunix Před 11 měsíci +1

      Very dependent on what kind of configuration you’re running IMO, flakes + home-manager + unstable pkgs can definitely be a headache at times. What’s your config look like? Are you relying on stable channels?

    • @saladmancer8151
      @saladmancer8151 Před 11 měsíci +2

      @@user-kn6pn1cn8m I think it's more like not knowing how to undo things. I had a time where I was poking around I would mess up things and didn't know what I did and how to undo it. So I would reinstall and copy paste old configs. Usually something to do with audio, multi monitors or login manager was my main points of failure.
      Once you understand it. It's simple but getting there is tough. Especially if you moved from windows and Mac os

    • @views8962
      @views8962 Před 11 měsíci

      Are you on stable or unstable?

    • @soooslaaal8204
      @soooslaaal8204 Před 11 měsíci +3

      @@user-kn6pn1cn8m From personal experience, no. It sure is fun having to reinstall from a backup each time a driver update or system update corrupts your system! You learn this is not too uncommon from helping family and friends reinstall their systems

  • @13zebras
    @13zebras Před 11 měsíci +46

    I have wanted to run nixos as my main distro for a long time. But I've not had enough time to get my head wrapped around the setup. These videos will be awesome!!

  • @GaetanLepage
    @GaetanLepage Před 11 měsíci +13

    Hi Chris !
    I am so glad that you gave a look to NixOS. I was sure you would love it !
    I have been using, hacking and exploring Nix/NixOS for almost two years.
    Would you be interested in exchanging more about it ? I would be very happy to give you more insights about things you might not have learnt yet (flakes, home-manager, packaging, development environment etc).
    Anyway, I wish you the best Nix-journey possible and will be following your adventure.
    Have fun and thank you for sharing those great videos with us :)

  • @theBoomerDoomer
    @theBoomerDoomer Před 11 měsíci +11

    This is amazing! Thanks for highlighting it, I'm definitely interested in this project. Congrats on the 500K sub milestone, as well!!

  • @ClintRobison
    @ClintRobison Před 7 měsíci +1

    This is fantastic. Thank you so much for taking the time to create and share your knowledge. I googled nix setup documentation and clicked this video. One stop. You have everything. Awesome work!

  • @razoreddy9225
    @razoreddy9225 Před 11 měsíci +4

    Thank you. I've been reading up on NixOS for 3 days now and started installing it this morning to try my hand at configuring it. I typically find your videos easy to follow and for the most part can replicate your outcomes from them so this is going to be a really nice resource as I'm not gonna lie NixOS confuses me just a tad.

  • @TownspersonB
    @TownspersonB Před 11 měsíci +131

    I tried to use NixOS a few weeks ago, but wanted to use flakes and home manager to do things, having separate branches for my desktop and laptop configs which could be chosen by using a single command. I wound up getting frustrated and quit because it seemed like everyone was doing different things and finding answers to my questions was a pain.

    • @clocked0
      @clocked0 Před 11 měsíci +17

      Since Nix is its own language kinda - There's often multiple ways to solve the same problem. Just like programming. Pick the way that appeals to you most.

    • @benign4823
      @benign4823 Před 11 měsíci +20

      Just do your own thing, trying to copy paste is the worst thing you can do in this case.
      Find the simplest templates and slowly add things on and change things as you go.

    • @TownspersonB
      @TownspersonB Před 11 měsíci +20

      @@benign4823 I wasn't simply copy-pasting, I was encountering a problem and looking up the solution to find someone else had an entirely different setup, which added complexity in isolating what I actually had to do to solve my problems.

    • @benign4823
      @benign4823 Před 11 měsíci +1

      ​​​​​@@TownspersonBYou should've asked on the for***, dis***** or mat***** then.
      Having different configurations for different things IS part of a basic template though, which you can Google, the powers that be won't allow me to spell it.
      Ni*O* is so different you need to do the same things people that start with Linux do all over again.

    • @benign4823
      @benign4823 Před 11 měsíci +6

      ​@@TownspersonBCan't spell those names without my comment getting instantly deleted, sorry for the stars.

  • @MunnyLerner
    @MunnyLerner Před 11 měsíci +163

    I've been waiting for something like this for years (decades actually). I deliberately avoid doing any config to my linux systems and I use the easiest plain vanilla linux I can because it's a deadly rabbit hole of confusion and breakiness trying to customize a system. The NixOS one-off virtualization scheme is freaking brilliant and long overdue. THANKS FOR THIS!!!!

    • @knightwolf8877
      @knightwolf8877 Před 11 měsíci +11

      I 1000% agree why spend all that time when one wrong move and you need to rebuild and do it all again. this is gong to change my whole IT infrastructure

    • @ScibbieGames
      @ScibbieGames Před 10 měsíci +3

      NixOS already having been in development since 2003, older than most distros lol

    • @christophstich5066
      @christophstich5066 Před 10 měsíci +3

      Changing your config on NixOS is still a rabbit hole but at least you are highly unlikely to break anything. Out of the probably thousands of changes only once ever broke something that I couldn't just roll back.

    • @thecandyman9308
      @thecandyman9308 Před 9 měsíci +2

      So, I'm a bit dense, but are you saying that w/ Nix, it's sort of running an "instance" of what he's specifying in the config screen in the video, almost like the OS is a hyperviser host and you're operating in an isolated "sandbox"? As compared to a more traditional distro where you're running in an "all-encompassing/all-in-one" OS?

    • @bobbyv3
      @bobbyv3 Před 9 měsíci +4

      You're not the targeted audience for Linux, my friend. If you're afraid of configurations, just stick to Windows.

  • @CraigOlson
    @CraigOlson Před 11 měsíci +35

    next up, dig into home-manager and Flakes.. that takes nix to a whole new level.

  • @FengLengshun
    @FengLengshun Před 11 měsíci

    Going to go through all of your nix contents. I've been using it, but the most advanced thing I've done has been to set some aliases (pretty complex ones, but still nothing unique to nix) and options. Thanks, I really needed these examples and explanations.

  • @PenguinRevolution
    @PenguinRevolution Před 11 měsíci +5

    Nix OS has always interested my and I think it's great for deploying on a fleet of computers if you want the same configuration on every computer. It's a well done project.
    Also congrats on reaching 500k subs.

  • @CTWilliams89
    @CTWilliams89 Před 11 měsíci +3

    Just started down the nix rabbit hole. Got it installed in a vm on proxmox and used it to build a nix os pi image. Its about a 80 percent solution but I'm already a huge fan of this distro. Thanks for the videos on it, it has b3en a huge help for the steep learning curve it has!

  • @OsX86H3AvY
    @OsX86H3AvY Před 11 měsíci

    this seems fantasic, i love that you do content like this as like a more educationally focused thing - nice work

  • @sgr_sgr
    @sgr_sgr Před 10 měsíci

    Wow! Thanks for your time & effort putting all this together. I’m going in!

  • @hydroponicgard
    @hydroponicgard Před 11 měsíci +50

    I don't think I'd ever use NixOS as daily driver, but as a rather mass deployment "device" (per see), which would be GODLY for data centers and blade servers running similar/same things.
    Great video, CTT! :D

    • @ImperiumLibertas
      @ImperiumLibertas Před 9 měsíci +12

      It's interesting because obviously that's the intended target audience but with some refinement it could easily become the best way to setup a desktop environment.

    • @Alexander_Sannikov
      @Alexander_Sannikov Před 6 měsíci +6

      It's actually sad that that this is the way nixos advertisement is pitched. It's actually really good for personal use, if you know how to use it. It feels like a straight up superior system, but it came from the aliens.

  • @the_jr_dev
    @the_jr_dev Před 10 měsíci

    Thanks for this video. I was wanting to configure NixOS, but didn´t have the time to figure it out. It looked like something I would love once I got it configured though. Great video explaining the basics of how to get up and running.

  • @Thepilgrimingtrinh
    @Thepilgrimingtrinh Před 11 měsíci

    Thank you so much Titus - I had been getting around to learning and trying it out - with many job offers for this expertise.. hard to pass up.

  • @dljohnsonmusic
    @dljohnsonmusic Před 11 měsíci

    This seems pretty awesome....I can't wait to do a deep dive using the items you provided 🙌

  • @deathgripsonline
    @deathgripsonline Před 11 měsíci +18

    Chris,
    Discovered your channel a long time ago starting as an amateur hobbyist. Enrolled in college and have tried to completely immerse myself in the computer world. I even emailed you once about audio mixer configurations. I'm just about done with a bachelor's in cybersecurity and information assurance. Working on the SSCP certification exam right now, I have SEC+, A+, Net+, project management certified.. trying to crunch all of that before 30. I watch your videos even if they aren't relevant to what I'm studying because I am fascinated by everything. I want to become a tech priest, basically (joke, not literal lol). Blue-collar upbringing, etc. I have never installed a Linux distribution by myself, only in labs, and I have been too nervous/not confident in installing by myself. This video with the "$300k salary" made my ears perk up. I will have to tackle this. If you were starting again today, fresh out of school in 2023, what would you say to yourself? Thanks, -Ted.

    • @esaedvik
      @esaedvik Před 11 měsíci +1

      It's a fun hole to jump into, learned a ton and tried to make myself some random notes on how to do certain things, but got a job JUST after I plunged myself into one distro and tested stuff on it. Now a lot of that knowledge has been replaced by my new job and stress :D
      I bought an old "1 liter" HP Elitedesk to use as a "lab" for installing stuff like Proxmox, Unraid, OPNsense etc. Super cheap way to get into the swing of things, paid 150-ish bucks for it and it's not too shabby, i5-8600T, 8GB (32GB max), 250GB M.2 NVMe SSD (two slots), 10Gbit USB-C, 2 DPs, one HDMI etc. Nice value and if you have more to spend, there's a ton of them around cause companies lease them for 2-3 years and sell off cheap.

    • @anmol3457
      @anmol3457 Před 11 měsíci +2

      good luck with your stuff

  • @Fabian-_-
    @Fabian-_- Před 11 měsíci +1

    I'm currently working on transitioning to NixOS on my laptop and hopefully soon on my main rig. Absolutely love it so far

  • @vpxc
    @vpxc Před 11 měsíci

    Thanks for covering what has been my favorite distro for many years. Hopefully more attention will bring more contributors. :)

  • @NigelSwan
    @NigelSwan Před 6 měsíci

    This is the best explanation I've seen yet, as someone that has no idea about it. Thank you!

  • @andresandrek88
    @andresandrek88 Před 11 měsíci +1

    Thanks Chris for you educational videos! much apreciate all your work. kind regards from Argentina

  • @alanjrobertson
    @alanjrobertson Před 11 měsíci +9

    Wow, really interesting concept. It feels like taking a dockerfile to set up a standard container but then multiplying that 10x and doing it for a whole OS!

  • @sully-kg
    @sully-kg Před 11 měsíci +59

    I've been using NixOS for a few months and I love how stable it is but if you don't need supreme reproducibility I find it pretty overkill. I enjoy tinkering with it so I don't mind but I've lost count of the times I've thought "I could solve this in 10 seconds on Ubuntu" while trying to nixify a config or just get a program working the way I'd expect (NordVPN is especially brutal imo). That said the massive package list helps keep me here.
    I'd love to see a couple of videos about flakes and HM, I just changed my config over to them a few weeks ago and while it made some things much easier I do kinda miss the simplicity of using 1 configuration.nix for nearly everything.

    • @woobilicious.
      @woobilicious. Před 8 měsíci +2

      When you go to do a major distro update in a year you'll be thanking that you configured it using NixOS and not a bunch of ad-hoc configs that break when software is updated. updates in Arch or Ubuntu was always a PITA if you had used software from AUR or other 3rd parties and dependencies changed. I ran a patched kernel and it automatically applies my patch to nixpkgs upstream kernel version, and it keeps the old kernel around for if anything goes wrong during boot.

  • @baba.o
    @baba.o Před 11 měsíci +806

    I use arch btw.

    • @dandiaz19934
      @dandiaz19934 Před 11 měsíci +57

      I use SteamDeck, so technically me too btw! :D

    • @baba.o
      @baba.o Před 11 měsíci +18

      @@dandiaz19934 w

    • @linuxstreamer8910
      @linuxstreamer8910 Před 11 měsíci +17

      i use endeavouros btw

    • @baba.o
      @baba.o Před 11 měsíci +9

      @@linuxstreamer8910 another w distro.

    • @vaisakhkm783
      @vaisakhkm783 Před 11 měsíci +3

      @@linuxstreamer8910 endeavouros and arco linux arch cheating right XD

  • @skirnir393
    @skirnir393 Před 9 měsíci +3

    I started using Linux back in 2007 and did my share of distro hopping, yet i never heard about NixOS back then. I think it is because i didn't have a broadband internet connection and I used to buy IT magazines that included Linux CD-ROMs and DVD's. Finally I settled with Ubuntu because it worked fine on my Thinkpad and that's what I've being using since.

  • @blackchristiangeek
    @blackchristiangeek Před 11 měsíci

    Thanks for the quick overview, this distro, seems to be everywhere now and not sure how I missed it before now. Again, thanks, and God bless

  • @adrianscarlett
    @adrianscarlett Před 10 měsíci +2

    I just installed it, replacing arch. You're not kidding, it really is mindblowing.
    My only complaint for now is that the live image makes you go through disk partitioning during setup. I was hoping to do all my configuration on the usb image, then burn it to the hardware when i was ready.

  • @whyredfire
    @whyredfire Před 11 měsíci +16

    I won't install it as my host OS for now but would try to learn it in docker for sure. As someone said below, it would be really taxing to rebuild the whole system every time.
    This is good for a particular use case, like settings up dozens of machines with the same configuration.

    • @quasigod1083
      @quasigod1083 Před 11 měsíci +17

      The entire system isn't rebuilt. Everything you build is saved in the Nix store and reused. Most packages are also pulled from a global cache.

    • @whyredfire
      @whyredfire Před 11 měsíci

      @@quasigod1083 Fair, makes a lot of sense.
      Thanks!

  • @mbrock5532
    @mbrock5532 Před 11 měsíci

    Very cool! I'd seen this off and on but never really investigated it. Sounds fascinating.

  • @jhippl
    @jhippl Před 11 měsíci +6

    Having everything in one config file is wonderful. That’s always been an issue finding where everything is in every slightly different distros

  • @callyral
    @callyral Před 3 měsíci

    i configured the whole thing in like 4 days by rushing it and now i am fixing stuff! really good distro i love it and i love configuring my os with nix

  • @mrtinythumb5363
    @mrtinythumb5363 Před 8 měsíci

    bro! im installing nixos RIGHT NOW. this is amazing!

  • @knightwolf8877
    @knightwolf8877 Před 11 měsíci

    Yes finally love the concepts going to install this tomorrow

  • @jesperkorsen1111
    @jesperkorsen1111 Před 11 měsíci +5

    Looks like I've got some distro-hopping to do now!

  • @chrisallen6010
    @chrisallen6010 Před 7 měsíci

    Looks like a nice configuration management built into the OS like Puppet or Chef. Reminds me of the 'gitlab-ctl reconfigure' command.

  • @0netom
    @0netom Před 11 měsíci

    I'm a Nix (shell.nix) user on macOS for Clojure development, for ~5 years by now.
    I did use NixOS too a couple of times on real hardware too.
    No more lengthy installation notes in READMEs to follow (for most software)!
    It's just faaaantastic!
    I still install my GUI apps with `brew install --cask` though.

  • @JoshuaMaciel
    @JoshuaMaciel Před 11 měsíci +1

    Great video. I actually started looking into getting good with Nix and see if I can get a job doing that

  • @curtisgmchale
    @curtisgmchale Před 7 měsíci

    I spent the last few months trying to get nixOS going. My final hurdle was a proper local WordPress development install. I tried many ways, including their WP stuff. Had to drop it to get work done but I still want to get in.

  • @orebi1914
    @orebi1914 Před 10 měsíci

    Hey Chris! I always enjoy your videos. I think you make awesome videos. Keep it up! I have a quick question. I noticed you had running some kind of p10k theme for zsh on your terminal. But I didn't see any setting for zsh in your configuration.nix file. Can you share how you did manage to install p10k on nixos? Thank You in advance!

  • @cristianinujazznight3044
    @cristianinujazznight3044 Před 11 měsíci

    Thanks for the video, Some months ( 6 or 8 ) ago looked Nixos but in that time, for my looks outdated the distro but now, feels like has everything.
    With your config, can you run Steam and Retro Arch and code in C++ and C# ?

  • @unalive_feline
    @unalive_feline Před 11 měsíci +3

    Will be giving this a try!

  • @the_manifold
    @the_manifold Před 11 měsíci

    I'm an Arch user but I'm well up for giving Nix a go when the time comes. The package manager and language is really interesting to me

  • @longlost8424
    @longlost8424 Před 11 měsíci

    as usual chris, another amazing tutorial for both noob and advanced.....

  • @benjy288
    @benjy288 Před 11 měsíci

    Thanks for doing this, I just switched back to nix after being on tumbleweed for a while, once you understand it its actually pretty easy to use, once you have you config file sorted if you ever need to reinstall for whatever reason you can be up and running again in about 10 minutes with the exact same settings as before, the only issue I've had so far is some weird bug with a specific external ssd, if I format it it will fail and freeze my whole system, but its only this specific ssd, I can format it in other distro's just fine, and I can format other flash drives in nixos just fine too, so I don't know what's going on there, for some reason nixos just doesn't like that ssd.

  • @ottolehikoinen6193
    @ottolehikoinen6193 Před 11 měsíci

    Ok. Absolutely one to try out if you are planning to become an it-professional. Not quite Arch, but before diving into some deep level OS stuff. Intermediate difficulty.

  • @kinyerainnoarnolds7281
    @kinyerainnoarnolds7281 Před 11 měsíci

    Very Informative,Thanks Titus.

  • @jamesyoung151
    @jamesyoung151 Před 11 měsíci

    I'm a long time user of Gentoo. I'm in the process of converting my last Windows machine to Linux. I'm installing Arch at the moment. After seeing this and one other video about NixOS, my mind may be changing. I'll have a look at this on my spare laptop.

  • @abhinavlakhani5637
    @abhinavlakhani5637 Před 11 měsíci +6

    I have heard about nixos b4 that it's really good for maintenance, security and configuration. Though, I would be interested to see the heights of automations that can be done in nixos which sets it apart from other distro.
    Also, I use Manjaro like an Arch user. I use Hyprland btw.

    • @ppen9u1n
      @ppen9u1n Před 11 měsíci +1

      What sets it apart is that it's "config as code" all the way, meaning that everything you'd do on another distro by clicking, pointing, selecting, editing configs and what not *on every machine* manually, you do once in your (ideally version controlled) nix config. That means that even if it's a steep learning curve, you'll never need to do the same task more than once. And that's just the start, you can also build logic in your system declarations that makes settings depend on eachother, or the device architecture, etc.

    • @urimc
      @urimc Před 11 měsíci

      I use arch linux with xmonad btw

  • @user-kp8ps9zz4r
    @user-kp8ps9zz4r Před 7 měsíci

    Thanks for the video. Much appreciated : )

  • @SMOKE3104
    @SMOKE3104 Před 11 měsíci +1

    I tried using it once before and absolutely love it. I love having everything managed in a single file (if you want to), my issue came when trying to install things that are tricky to install on, let's say, pop os or arch. I keep looking for reasons to go back, I just need to know a bit more on how it works.

    • @benjy288
      @benjy288 Před 11 měsíci

      I ran it for a while about a year ago, I can't remember why I went back to tumbleweed, probably because I wanted a rolling release again, but I just switch back to nixos a few days ago after realizing I could just run the unstable branch as a rolling release, so I got stable installed and sorted, then I switched to unstable, and now I can choose to boot either stable and unstable, I don't know of any other distro that can do that, and if something eventually breaks on unstable I can just boot back into either another working unstable generation, or boot back into stable, its kind of like having btrfs snapshots without having to run btrfs, I can't see myself moving to another distro ever again.

  • @AkarshanBiswas
    @AkarshanBiswas Před 11 měsíci +2

    I wonder if NixOs will be suitable for my daily driving. I need KDE plasma desktop with sddm-git, pytorch with rocm enabled, firefox browser and flatpak.
    Will checkout sometime later this year or the next year when plasma 6 will be released. The hard block is the sddm-git which I prefer to run on wayland instead of the usual rooted xorg with plasma 5.
    Auto upgrade caught my attention the most.
    Arch does well with chaotic-aur repo.
    As you said , since there is very less documentation on this I was skeptical to switch to it since long time.

  • @SusanAmberBruce
    @SusanAmberBruce Před 11 měsíci +1

    This is wild!
    Thanks for your interest video content.

  • @momomaniac1234
    @momomaniac1234 Před 11 měsíci +1

    well done Chris 👏🏻👏🏻👏🏻👏🏻

  • @GeorgijTovarsen
    @GeorgijTovarsen Před 11 měsíci +2

    I have just moved to Nixos and I am having an hard time with some services that are not there in the repo, it is very difficult to understand what the code behind it is actually do it, the language itself is easy but many time it is not evident how expression are evaluated how they translate to the actual configuration.
    In my case I have a program that takes a configuration file as input and it is supposed to run in background. The program is that I don't know how to write the configuration to a file on the immutable filesystem and how to pack the command into a systemd service.
    Everything in NixOS seems ready to be used, but as soon as you have to do things "manually", it really takes a lot of time to research as the documentation is not really easy to grasp

  • @seventymx
    @seventymx Před 28 dny

    Awesome work, thank you.

  • @AvWijk85
    @AvWijk85 Před 10 měsíci

    Hi Chris, great content, can you add an article how to auto-add a local samba share on the machine?

  • @alexgghlebg5375
    @alexgghlebg5375 Před 11 měsíci +1

    how did i never view any of this distro after so many year using archlinux...
    thx fir the discovery, it probably will become my main OS in a week or 2.

  • @joebashour
    @joebashour Před 8 měsíci

    what is the plugin/theme you are using so that your Vim editor has that nice status bar at the bottom (Normal vs Insert etc.)

  • @rufuspub
    @rufuspub Před 7 měsíci

    So for the job types referenced, which is enterprise level, how does this fit into what is traditionally a RHEL world on hosted virtual hosts or public cloud? Is this replacing RHEL or complimenting it? Is this like Vagrant in being able to create the server and app setup and replicate it in situations where you are not using containers?

  • @bakedbeings
    @bakedbeings Před 8 měsíci +1

    I've only used nix on Replit, but it was super convenient.

  • @grigorigahan
    @grigorigahan Před 10 měsíci +2

    simply whoa. just the simple fact that I can export this to a git repo and rebuild by system from scratch on another machine is enough of a selling point for me. Time to spin up a VM and start tweaking.

  • @etherweb6796
    @etherweb6796 Před 7 měsíci +8

    Ive looked a NixOS twice. The second time I tried it, I was happily generating my system config and realized you cant install the amdgpu-pro without quite a bit of hassle. This is a showstopper for me - I realized that the problem with NixOS is there are too many configuration options for all the open source projects out there, so there will always be a game of catch up on the part of Nix developers and users. A great idea in theory, but it really needs an opinionated set of core software and to direct the users to use that software if they want it easily configured.

  • @Immortus27
    @Immortus27 Před 11 měsíci +1

    Looks great an kinda stable. Would you recommend this for work? You've said a lot of good things about this distro, but also it would be as useful to know what problems did you have(or not) at the start and how easy or hard it might be to move to this distro

    • @ppen9u1n
      @ppen9u1n Před 11 měsíci +4

      Yes, definitely highly recommended for work, but for a beginner you should factor in some learning time reserve. If you can't get a certain exotic app (e.g. downloaded binary or game) running quickly enough, you could try with steamrun or in a container to avoid having to troubleshoot. This type of issue is the most time consuming, others are pretty benign. On the long term you'll earn back your invested time because you never have to redo significant configuration tasks, not even when migrating or duplicating systems. (Just copy and modify the existing config and rebuild).

  • @pmolczan
    @pmolczan Před 7 měsíci

    this video alone got a follow for the excellent work

  • @WildMidwest1
    @WildMidwest1 Před 11 měsíci

    I spent a whole day trying to install NixOS onto one of my SSD partitions last week via different methods but I could never figure out how to get it to boot. I even attempted manual installation via command line before giving up. I am currently using three distros on my boot SSD, and I have distro hopped about a dozen distros so far.
    Maybe NixOS doesn’t share a sandbox well with others?
    rEFInd is my boot manager. rEFInd cannot see a bootable NixOS volume following installation from the NixOS gnome live installer USB stick. Various work arounds with GRUB (which rEFInd knows about and allows me to load) did not succeed in getting NixOS to show up. Hours spent reading forums and the NixOS installation guide did not solve it.
    Maybe I will try installing NixOS onto a freshly formatted SSD and see if I can get a bootable computer that way, but I don’t have the time to waste another day on this project right now. I am too frustrated with the installation process versus all the other linux distros I tried and succeeded installing.
    PS, None of the NixOS installers work from my Ventoy flash drive. They all kernel panic early in the installer’s boot… at least on my HP Dev One laptop (Ryzen 7 with 64 gb RAM.) I currently have six other distros on my Ventoy USB stick that work perfectly well. Only NixOS panics every time.

  • @yzxc222
    @yzxc222 Před 11 měsíci +12

    Chris, I saw that you have packages from flatpack and nix-os on your system. So I have a question: if you need to download a package and it's available in both nix and flatpack, which one would you choose and why?

    • @vaisakhkm783
      @vaisakhkm783 Před 11 měsíci

      i never used nix, but i guess we need to go with officially supported one..
      and mostly it would be flatpak.. so if there any errors, we could easly report
      but then again, i guess it will hurt reproducibility of the build

    • @whyredfire
      @whyredfire Před 11 měsíci

      I personally always use flatpak packages for all the GUI apps I have, love the modularity.

    • @ChrisTitusTech
      @ChrisTitusTech  Před 11 měsíci +13

      Depends on what the end goal is. I find flatpak does a better job of sandboxing it... Discord for example is something I don't want having access to my files on my system. Very easy to lock it down, and still use the program. If this isn't a concern I find nix packages a bit faster than flatpak and would use it for something I want everywhere... for example neovim a text editor I use.

    • @l0gic23
      @l0gic23 Před 11 měsíci +2

      ​@@ChrisTitusTechGreat examples

  • @esaedvik
    @esaedvik Před 11 měsíci +4

    This was pretty much my reaction to Pop!_OS a year ago when I first tested it. Thoroughly impressed and couldn't break it throwing all the random shit I could find at it. Plus it was running on 10-year-old hardware. Nothing SUPER special in general terms, just the fact that I got it to work as well as it did and still does, on two PCs now, was good enough. Two more to upgrade from W10 :D Really didn't have to do much more than just google a ton of stuff since I'm not super fluent in Linux, I just dabble. The only thing I couldn't get to work or find instructions for, was streaming video on Discord, which I heard is now fixed for the most part by a third party.

  • @kartibok001
    @kartibok001 Před 10 měsíci

    So let me get this right. My single config file that I create that has all my desktop settings, all the software details that I have can be saved externally? So if my machine dies, get a default build up and running and import (for want of a better word) the config file- to recreate my "original" box?

  • @agh0x01
    @agh0x01 Před 11 měsíci

    At 07:39, actually NixOS won't build something it has already built unless the inputs change, so if you didn't touch your dwm build, there will be no extra compilation, etc. The version already built and in the Nix store will be used.

  • @PabloPazosGutierrez
    @PabloPazosGutierrez Před 2 měsíci

    when you add a package, does it resolves all the rependencies too? thanks

  • @eddie6668
    @eddie6668 Před 11 měsíci +1

    Dayumm i use the ntlite version, should i switch to this one ?

  • @RobFisherUK
    @RobFisherUK Před 7 měsíci

    I'm intrigued. One problem I have with my computers at home is they tend to accumulate cruft as I solve problems, and I forget what I've done. I've tried putting config files in Git and so on but it takes discipline. It seems as if nixOS might have the answer to that.

  • @Mikesco3
    @Mikesco3 Před 11 měsíci

    This is such a timely video

  • @_taylor_v
    @_taylor_v Před 7 měsíci

    Great video! Are you recording this on a NixOS machine? Or is this some kind of VM?

  • @TulioPontacoloni
    @TulioPontacoloni Před 11 měsíci +1

    You're doing the lord's work up here Chris!

  • @ayushgun
    @ayushgun Před 11 měsíci

    I'm curious which hedge fund offered you the position? Citadel? Not sure if they work with NixOS though.

  • @gzoechi
    @gzoechi Před 10 měsíci

    How is the experience in comparison to maintaining the configuration with Ansible?

  • @Lumindeas
    @Lumindeas Před 11 měsíci

    Damn, thank you for all the hard work. I was just about to take the Nix plunge. Timing could not have been better :)
    Have a great weekend!

  • @user-pm8je4fo7e
    @user-pm8je4fo7e Před 5 měsíci +1

    Got job offer for 300k with zero experience
    @
    Decides to spend two weeks learning wtf is this thing
    @
    Feels confident enough to teach others
    Solid stuff.

  • @TheOne-ok7gn
    @TheOne-ok7gn Před 11 měsíci

    I tried it 2 times before , both unsuccessful the amount of time needed to learn the language is beyond me. i don't have that much time. One of my problems was i couldn't open specific appimages on nix. i suspect some of runtime dependencies were not universally available .
    now i hope i can go for a 3rd dive using your tutorial.

  • @maozedong5265
    @maozedong5265 Před 9 měsíci

    Thank you for reminding me that we only die once we stop learning and that it's possible to be as young as yourself for so very long.

  • @Dakforever1
    @Dakforever1 Před 11 měsíci

    Looks like an awesome Distro

  • @FlexibleToast
    @FlexibleToast Před 11 měsíci

    How do you manage secrets? You mount the remote shares, how do you handle the password for those remote shares?

  • @funny-video-YouTube-channel
    @funny-video-YouTube-channel Před 7 měsíci

    Business loves it, because it can be long term supported , in theory.
    Like a machine that can have 20 year software support.

  • @stevenhines5550
    @stevenhines5550 Před 11 měsíci +5

    So a request to the community:
    What is the path to utilizing this kind of configurability? I am using Mint because I just couldn't STAND Windows anymore. (Even with Chris' tools I could never seem to get away from telemetry and updates overwriting my preferences.) Since installing Mint I have used it for routine tasks like web browsing and word processing.
    I know this must sound completely lame but I was a ham and egg Windows/NT networks sysadmin for a few years then transitioned into human services ten years ago; I want to learn how to use this system. I was never into bleeding edge and I never subscribed to tech magazines - I just managed desktops and LAN and CRM at a small software company. Every time I try to engage with Linux I just get frustrated and fall back into standard tasks. Can you recommend a path to understanding how to maintain a stable Mint system and then broaden my horizons?

  • @StrelokRadist
    @StrelokRadist Před 11 měsíci

    Thank you for popularizing "the only linux". It is getting better and better.

  • @davidprock904
    @davidprock904 Před 10 měsíci +1

    Thank You, Thank You, Thank You Very much!

  • @satysin630
    @satysin630 Před 11 měsíci +6

    Ha I wish there were NixOS jobs where I lived that paid even half that 😁 It is a great platform although can be a lot of work to maintain over time on a desktop. Lovely on a server that doesn't change very often though when you want to scale the number of installs into the hundreds or thousands.

  • @rabidrivas
    @rabidrivas Před 11 měsíci +2

    I have two questions:
    Do you plan to daily drive this?
    Can you link the job postings?

    • @ChrisTitusTech
      @ChrisTitusTech  Před 11 měsíci +1

      I have been for 3 months and used indeed for the job postings. The 300k offer was sent personally to my email and not a public posting. Just used indeed.com and Nixos as search term to get a baseline.
      Which is normal anything over 200k typically is privately handled by recruiters since they get a percentage of the salary if the hire goes past 90 days. Different type of hiring procedure when you get in to that realm.

  • @augustacybersolutions
    @augustacybersolutions Před 2 měsíci

    Thank you for the video.