NixOS is Mindblowing

Поделиться
HTML-код
  • Опубликовано: 15 июн 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
  • НаукаНаука

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

  • @ChrisTitusTech
    @ChrisTitusTech  11 месяцев назад +105

    NixOS Article: christitus.com/nixos-explained/
    Titus Tech Talk NixOS Videos: ruclips.net/p/PLgVG4PNqM5SbjFzePr_YZJKafNf_ngbq3

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

      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 11 месяцев назад +17

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

    • @Hreimr
      @Hreimr 11 месяцев назад +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 11 месяцев назад

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

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

      You need to use flakes!

  • @bstar777777
    @bstar777777 11 месяцев назад +54

    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 3 месяца назад +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 3 месяца назад

      @@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 15 дней назад

      ​​@@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 2 дня назад

      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 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +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.

  • @sergioquijanorey7426
    @sergioquijanorey7426 11 месяцев назад +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.

    • @G-G._
      @G-G._ 6 месяцев назад +8

      like touching grass?

    • @user-xl8kv6wt9l
      @user-xl8kv6wt9l 22 дня назад

      ​@@G-G._ 😂

  • @10a3asd
    @10a3asd 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +19

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

    • @jeffrodrequez
      @jeffrodrequez 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +3

      why not just use Arch?

  • @kr8771
    @kr8771 11 месяцев назад +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!

  • @GaetanLepage
    @GaetanLepage 11 месяцев назад +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 :)

  • @chan.sorman
    @chan.sorman 11 месяцев назад +109

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

    • @clocked0
      @clocked0 11 месяцев назад +10

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

    • @cenunix
      @cenunix 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад

      Are you on stable or unstable?

    • @soooslaaal8204
      @soooslaaal8204 11 месяцев назад +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 11 месяцев назад +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!!

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

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

  • @marcin6386
    @marcin6386 11 месяцев назад +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!

  • @ClintRobison
    @ClintRobison 7 месяцев назад +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 11 месяцев назад +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.

  • @MunnyLerner
    @MunnyLerner 11 месяцев назад +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 11 месяцев назад +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 10 месяцев назад +3

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

    • @christophstich5066
      @christophstich5066 10 месяцев назад +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 9 месяцев назад +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 9 месяцев назад +4

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

  • @hydroponicgard
    @hydroponicgard 11 месяцев назад +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 9 месяцев назад +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 6 месяцев назад +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.

  • @CraigOlson
    @CraigOlson 11 месяцев назад +35

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

  • @PenguinRevolution
    @PenguinRevolution 11 месяцев назад +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 11 месяцев назад +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!

  • @TownspersonB
    @TownspersonB 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +6

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

  • @alanjrobertson
    @alanjrobertson 11 месяцев назад +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!

  • @deathgripsonline
    @deathgripsonline 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +2

      good luck with your stuff

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

    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.

  • @sully-kg
    @sully-kg 11 месяцев назад +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. 8 месяцев назад +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.

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

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

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

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

  • @baba.o
    @baba.o 11 месяцев назад +808

    I use arch btw.

    • @dandiaz19934
      @dandiaz19934 11 месяцев назад +57

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

    • @baba.o
      @baba.o 11 месяцев назад +18

      @@dandiaz19934 w

    • @linuxstreamer8910
      @linuxstreamer8910 11 месяцев назад +17

      i use endeavouros btw

    • @baba.o
      @baba.o 11 месяцев назад +9

      @@linuxstreamer8910 another w distro.

    • @vaisakhkm783
      @vaisakhkm783 11 месяцев назад +3

      @@linuxstreamer8910 endeavouros and arco linux arch cheating right XD

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

    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.

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

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

  • @NigelSwan
    @NigelSwan 6 месяцев назад

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

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

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

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

    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 11 месяцев назад

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

  • @skirnir393
    @skirnir393 9 месяцев назад +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.

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

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

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

    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

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

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

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

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

  • @whyredfire
    @whyredfire 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад

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

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

    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.

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

    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.

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

    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

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

    Yes finally love the concepts going to install this tomorrow

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

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

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

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

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

    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 11 месяцев назад

    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.

  • @unalive_feline
    @unalive_feline 11 месяцев назад +3

    Will be giving this a try!

  • @etherweb6796
    @etherweb6796 8 месяцев назад +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.

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

    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

  • @jesperkorsen1111
    @jesperkorsen1111 11 месяцев назад +5

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

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

    well done Chris 👏🏻👏🏻👏🏻👏🏻

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

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

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

    Very Informative,Thanks Titus.

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

    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# ?

  • @grigorigahan
    @grigorigahan 10 месяцев назад +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.

  • @user-kp8ps9zz4r
    @user-kp8ps9zz4r 7 месяцев назад

    Thanks for the video. Much appreciated : )

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

    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.

  • @alexgghlebg5375
    @alexgghlebg5375 11 месяцев назад +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.

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

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

  • @GeorgijTovarsen
    @GeorgijTovarsen 11 месяцев назад +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

  • @SMOKE3104
    @SMOKE3104 11 месяцев назад +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 11 месяцев назад

      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.

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

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

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

    This is such a timely video

  • @abhinavlakhani5637
    @abhinavlakhani5637 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад

      I use arch linux with xmonad btw

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

    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!

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

    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.)

  • @stevenhines5550
    @stevenhines5550 11 месяцев назад +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?

  • @maxarendorff6521
    @maxarendorff6521 11 месяцев назад +14

    NixOS can be awesome but the documentation is lacking and some apps don't work right with its non-standard file structure and you just want to pull your hair out getting stuff to work. I used it for while on the desktop but I ended up switching back to Fedora because configuring Neovim right was a huge headache on NixOS. I still use NixOS as a server OS on my NAS and other machines and that's where it really shines. It's so easy to configure and automate things and you can even configure docker containers with it. If there is a hardware issue, no problem just reinstall the OS, copy over your config file, rebuild the whole system and everything just works.

    • @coffee-is-power
      @coffee-is-power 11 месяцев назад +1

      configuring neovim on nix os is not that hard, i managed to make it install lunarvim automatically, which is a really big configuration that turns neovim into a full blown IDE. I basically did that creating a custom package.

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

    this video alone got a follow for the excellent work

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

    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.

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

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

  • @AkarshanBiswas
    @AkarshanBiswas 11 месяцев назад +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.

  • @TheOne-ok7gn
    @TheOne-ok7gn 11 месяцев назад

    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.

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

    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?

  • @seventymx
    @seventymx 29 дней назад

    Awesome work, thank you.

  • @PabloPazosGutierrez
    @PabloPazosGutierrez 2 месяца назад

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

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

    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.

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

    Been playing with NixOS and I like it. BUT, I have discovered they have zero tracking or facilities for handling security issues and updates. There is no one tracking what security issues exist, what needs to be updated etc, its totally up to whoever to updates the individual nix software packages whenever they feel like it.

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

    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?

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

    I tried popOS which ran like crap on my thinkpad w dgpu, about a week ago I figured I'd give Linux another try and installed over PopOS with Debian 12 and it's great so far! Actually moved my entire workflow over to linux

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

    This is wild!
    Thanks for your interest video content.

  • @yzxc222
    @yzxc222 11 месяцев назад +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 11 месяцев назад

      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 11 месяцев назад

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

    • @ChrisTitusTech
      @ChrisTitusTech  11 месяцев назад +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 11 месяцев назад +2

      ​@@ChrisTitusTechGreat examples

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

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

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

    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!

  • @esaedvik
    @esaedvik 11 месяцев назад +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.

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

    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.

  • @Immortus27
    @Immortus27 11 месяцев назад +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 11 месяцев назад +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).

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

    You are doing a huge service, I want to dig into NixOS, because there are hardware configurations for my MacBookPro16,1 (T2 chip) available. Trying to free myself from macOS on this brilliant hardware.

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

      It's not brilliant at all 😂 believe me. As owner of two Macbooks Pro I advice you to get cheap additional Intel laptop, Apple really engineering obsolescence, thats why forums filled with mass complaints how Amd graphics dying in Macbooks right after warranty period. And that was normal computers where everything not glued & soldered together into big e-waste. That Arm chips Macbooks are basically iPads in alu shells, where not only graphics but SSD planned to fail from overheating, I hope Apple will be bankrupt.

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

      @@fontende T2, not M2 ;) It's the MacBook Pro 2020 with the Intel chip. It's the 2nd last model before the M1 came. It is the one without the final GPU upgrade (which was 16,4 - it's still powerful though, great for gaming in BOOTCAMP) and there are NixOS Kernel patches for my model available, and lucky me, the 16,4 GPU upgrade is not compatible with those patches. I probably have the last MacBook that will have medium to high hardware support, but it's already rough, because things like dynamic switching between integrated and dedicated graphics won't work (I will have to reboot for that). I still love the quality and feeling of Apple's hardware, but you are right that it is garbage in the long run, unless I manage to get it to work, as well as the community will keep working on it. It's a T2 Intel chip after all, so the support will probably bump in a few years when macOS feature updates will be canceled for this model. Honestly, give it time. ARM Linux is on the rise, too.

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

      @@_modiX they made planned obsolescence 10 years ago, it's present in yours too and as Louis rossman said such Macbooks from 2020s are not repairable

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

      @@fontende actually I followed him closely before buying this. This is the last model before the M1 that did things better in Rossmanns own words. However he still recommend against getting it, as the power line is exceptionally close to the low voltage data line on the motherboard. The rest seems to be fine, but yea, repairability is shtt, I know right. I'm looking forward into tapping my hands into Linux to find ways to get things done without Mac software. Especially the reliability in iOS publishing must be given, but maybe a Mac Mini in the cloud would be a better option. I can't go for Windows, so macOS was always beneficial, because of the stability of the OS and the unix foundation make it a good OS. This is business not hobby in my case, so you might understand where I am coming from.

  • @satysin630
    @satysin630 11 месяцев назад +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.

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

    Looks like an awesome Distro

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

    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.

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

    So are we going in circles? We were trying to make things more modular , I am wondering what is going to happen if that file gets corrupted and a user doesn’t have a backup.

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

    This is Amazing!

  • @davidprock904
    @davidprock904 10 месяцев назад +1

    Thank You, Thank You, Thank You Very much!

  • @funny-video-YouTube-channel
    @funny-video-YouTube-channel 7 месяцев назад

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

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

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

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

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

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

    Small thing, unrelated to nixos itself: you say you like the Meslo font, and kitty reports Meslo as the font being used, but looking at your terminal, Meslo is not the current font, that's actually Google's Noto Sans Mono. Config error?

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

    Add "apx" to your Nixos config for everything that isn't already in the nix repository (which is admittedly huge).