NixOS is Mindblowing

  Рет қаралды 723,907

Chris Titus Tech

Chris Titus Tech

Күн бұрын

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 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 ►► BlueSky ➜ bsky.app/profi...

Пікірлер: 719
@ChrisTitusTech
@ChrisTitusTech Жыл бұрын
NixOS Article: christitus.com/nixos-explained/ Titus Tech Talk NixOS Videos: kzbin.info/aero/PLgVG4PNqM5SbjFzePr_YZJKafNf_ngbq3
@univera1111
@univera1111 Жыл бұрын
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 Жыл бұрын
@@univera1111 bro enjoys getting his data collected 💀💀💀
@Hreimr
@Hreimr Жыл бұрын
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 Жыл бұрын
Off topic possibly: Do a video on the 'virsh' command. Seems to be super powerful but slightly obscure.
@dimplick
@dimplick Жыл бұрын
You need to use flakes!
@bstar777777
@bstar777777 Жыл бұрын
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 8 ай бұрын
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 8 ай бұрын
@@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 6 ай бұрын
​​@@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 5 ай бұрын
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.
@tommy.3377
@tommy.3377 3 ай бұрын
​@@fizipcfxYeah ! Very same question from me as well ;{
@PS3PCDJ
@PS3PCDJ Жыл бұрын
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 Жыл бұрын
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
@FedoraSilverblue
@FedoraSilverblue 2 ай бұрын
bro how to fully delete firefox and other basic packages?I use this distro but i dont know.And how i can install thorium browser appimage?
@hamwasntavailable
@hamwasntavailable Ай бұрын
​@@FedoraSilverbluethorium is bad, please use ungoogled chromium instead my friend.
@4pdel545
@4pdel545 6 күн бұрын
i have a lod laptop with dual graphics cards intel and nvidia geforce 820m.. but it doesnt work in any distro on wayland can you guys tell me how you make it work in nixos please . im gonna switch to it .??
@4pdel545
@4pdel545 6 күн бұрын
the card run under nvidia legacy 390xx
@guyclykos
@guyclykos Жыл бұрын
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.
@marcin6386
@marcin6386 Жыл бұрын
"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!
@baba.o
@baba.o Жыл бұрын
I use arch btw.
@dandiaz19934
@dandiaz19934 Жыл бұрын
I use SteamDeck, so technically me too btw! :D
@baba.o
@baba.o Жыл бұрын
@@dandiaz19934 w
@linuxstreamer8910
@linuxstreamer8910 Жыл бұрын
i use endeavouros btw
@baba.o
@baba.o Жыл бұрын
@@linuxstreamer8910 another w distro.
@vaisakh_km
@vaisakh_km Жыл бұрын
@@linuxstreamer8910 endeavouros and arco linux arch cheating right XD
@sergioquijanorey7426
@sergioquijanorey7426 Жыл бұрын
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._ Жыл бұрын
like touching grass?
@StalinDsouza-w3o
@StalinDsouza-w3o 6 ай бұрын
​@@G-G._ 😂
@chan.sorman
@chan.sorman Жыл бұрын
Been using it as a daily driver for about 1 and half Years. I have found it to be shockingly stable.
@clocked0
@clocked0 Жыл бұрын
@@chan.sorman Tbf that's surprisingly easy to do
@cenunix
@cenunix Жыл бұрын
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 Жыл бұрын
@@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
@soooslaaal8204
@soooslaaal8204 Жыл бұрын
@@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
@zweitekonto9654
@zweitekonto9654 Жыл бұрын
1.5 years, and you only have that much to say? Well you sound like the guy who only uses his pc for YT
@GaetanLepage
@GaetanLepage Жыл бұрын
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 :)
@kr8771
@kr8771 Жыл бұрын
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!
@10a3asd
@10a3asd Жыл бұрын
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 Жыл бұрын
(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 Жыл бұрын
@@merbst pretty sure Debian and Red Hat existed before 1997
@jeffrodrequez
@jeffrodrequez Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
why not just use Arch?
@xc13z829
@xc13z829 Жыл бұрын
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!!
@CraigOlson
@CraigOlson Жыл бұрын
next up, dig into home-manager and Flakes.. that takes nix to a whole new level.
@MunnyLerner
@MunnyLerner Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
NixOS already having been in development since 2003, older than most distros lol
@christophstich5066
@christophstich5066 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
You're not the targeted audience for Linux, my friend. If you're afraid of configurations, just stick to Windows.
@deathgripsonline
@deathgripsonline Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
good luck with your stuff
@hydroponicgard
@hydroponicgard Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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.
@razoreddy9225
@razoreddy9225 Жыл бұрын
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.
@theBoomerDoomer
@theBoomerDoomer Жыл бұрын
This is amazing! Thanks for highlighting it, I'm definitely interested in this project. Congrats on the 500K sub milestone, as well!!
@TownspersonB
@TownspersonB Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
​​​​​@@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 Жыл бұрын
​@@TownspersonBCan't spell those names without my comment getting instantly deleted, sorry for the stars.
@skirnir393
@skirnir393 Жыл бұрын
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.
@sully-kg
@sully-kg Жыл бұрын
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. Жыл бұрын
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.
@FedoraSilverblue
@FedoraSilverblue 2 ай бұрын
bro how to fully delete firefox and other basic packages?I use this distro but i dont know.And how i can install thorium browser appimage?
@alanjrobertson
@alanjrobertson Жыл бұрын
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!
@CTWilliams89
@CTWilliams89 Жыл бұрын
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!
@etherweb6796
@etherweb6796 Жыл бұрын
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.
@whyredfire
@whyredfire Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@quasigod1083 Fair, makes a lot of sense. Thanks!
@ClintRobison
@ClintRobison Жыл бұрын
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!
@funny-video-YouTube-channel
@funny-video-YouTube-channel Жыл бұрын
Business loves it, because it can be long term supported , in theory. Like a machine that can have 20 year software support.
@jhippl
@jhippl Жыл бұрын
Having everything in one config file is wonderful. That’s always been an issue finding where everything is in every slightly different distros
@maxarendorff6521
@maxarendorff6521 Жыл бұрын
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 Жыл бұрын
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.
@PenguinRevolution
@PenguinRevolution Жыл бұрын
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.
@grigorigahan
@grigorigahan Жыл бұрын
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.
@Fabian-_-
@Fabian-_- Жыл бұрын
I'm currently working on transitioning to NixOS on my laptop and hopefully soon on my main rig. Absolutely love it so far
@jesperkorsen1111
@jesperkorsen1111 Жыл бұрын
Looks like I've got some distro-hopping to do now!
@udirt
@udirt Жыл бұрын
First thought: you found out what a real, coherent OS looks like. I miss them times when that was more common.
@tigerboy4705
@tigerboy4705 Жыл бұрын
Haha imagine your OS sticks together and isn't just a weird mess lol
@maozedong5265
@maozedong5265 Жыл бұрын
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.
@shash0_0
@shash0_0 5 ай бұрын
Really appreciate your work Chris! It's crazy how you single handedly work so much to give back to the community.
@NigelSwan
@NigelSwan Жыл бұрын
This is the best explanation I've seen yet, as someone that has no idea about it. Thank you!
@alexgghlebg5375
@alexgghlebg5375 Жыл бұрын
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.
@Alexander_Sannikov
@Alexander_Sannikov Жыл бұрын
This is the closest thing to alien tech we have in software. It's absolutely ingenious, it's very different from everything else, it can do absolutely everything you might ever want it to, but you will never know how, because there's basically no documentation. And the worst of all, is that anything you want to do can be achieved in 29 slightly different ways and you won't know which one is the actually right one.
@callyral
@callyral 9 ай бұрын
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
@StrelokRadist
@StrelokRadist Жыл бұрын
Thank you for popularizing "the only linux". It is getting better and better.
@JoshuaMaciel
@JoshuaMaciel Жыл бұрын
Great video. I actually started looking into getting good with Nix and see if I can get a job doing that
@FengLengshun
@FengLengshun Жыл бұрын
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.
@mrtinythumb5363
@mrtinythumb5363 Жыл бұрын
bro! im installing nixos RIGHT NOW. this is amazing!
@milohoffman274
@milohoffman274 Жыл бұрын
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.
@0netom
@0netom Жыл бұрын
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.
@GeorgijTovarsen
@GeorgijTovarsen Жыл бұрын
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
@yzxc222
@yzxc222 Жыл бұрын
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?
@vaisakh_km
@vaisakh_km Жыл бұрын
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 Жыл бұрын
I personally always use flatpak packages for all the GUI apps I have, love the modularity.
@ChrisTitusTech
@ChrisTitusTech Жыл бұрын
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 Жыл бұрын
​@@ChrisTitusTechGreat examples
@curtisgmchale
@curtisgmchale Жыл бұрын
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.
@CMDR-Kat
@CMDR-Kat Жыл бұрын
Will be giving this a try!
@blackchristiangeek
@blackchristiangeek Жыл бұрын
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
@jamesyoung151
@jamesyoung151 Жыл бұрын
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.
@SusanAmberBruce
@SusanAmberBruce Жыл бұрын
This is wild! Thanks for your interest video content.
@stevenhines5550
@stevenhines5550 Жыл бұрын
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?
@bakedbeings
@bakedbeings Жыл бұрын
I've only used nix on Replit, but it was super convenient.
@Thepilgrimingtrinh
@Thepilgrimingtrinh Жыл бұрын
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.
@TulioPontacoloni
@TulioPontacoloni Жыл бұрын
You're doing the lord's work up here Chris!
@abhinavlakhani5637
@abhinavlakhani5637 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
I use arch linux with xmonad btw
@linux-dev-labs
@linux-dev-labs Жыл бұрын
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.
@xwinglover
@xwinglover Жыл бұрын
NixOS is interesting. If I wasn't so comfy on Arch, I would jump.
@MattCamp
@MattCamp Жыл бұрын
exactly
@vaisakh_km
@vaisakh_km Жыл бұрын
i wasn't comfy on arch after a lot of issues.. but i had to take a difficult choice between fedora and nix.... and i took fedora.. it lack many things i want... but i didn't had to mess with anything and waste time, so it's a positive
@whyredfire
@whyredfire Жыл бұрын
@@vaisakh_km Same here lol, I find Fedora to be more stable and robust. I really miss aur but I think it was worth the switch.
@the_manifold
@the_manifold Жыл бұрын
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
@ФеофанЭтополедолжнобытьзаполне
@ФеофанЭтополедолжнобытьзаполне 11 ай бұрын
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.
@OsX86H3AvY
@OsX86H3AvY Жыл бұрын
this seems fantasic, i love that you do content like this as like a more educationally focused thing - nice work
@volchonokilliR
@volchonokilliR Жыл бұрын
Thanks to this video, I've tried Linux for the first time, and now migrated to it. Everything in NixOS worked straight out of the box, and although in the end I still needed to do a lot of configuration and figuring out, it is easier to set up lagless and optimized system than on Windows. Much less work and arcane knowledge required. And result? I have a more stable, prettier and better working system!
@volchonokilliR
@volchonokilliR Жыл бұрын
One of the biggest things to pay attention which want to mention though - I had limited color range set by default on Intel videocard. On X11 with KDE for some reason there is no option for this in System Settings. Curiously enough, this option exists when using Wayland. But Wayland is not ready for serious gaming yet. So, the program to know if you have limited color range is "xrandr --verbose". You will find you display there and line saying "Broadcast RGB" (this is for Intel cards). By default I had it at "Limited 16:235" (which is obviously not good). The way I figured out to change it, is to execute xrandr command when display manager starts each time when you load your system. I've done it from configuration.nix in the following way: services.xserver.displayManager.setupCommands = '' ${pkgs.xorg.xrandr}/bin/xrandr --output --set 'Broadcast RGB' 'Full' '';
@volchonokilliR
@volchonokilliR Жыл бұрын
in the same way, it is also possible to for example, overclock your monitor. My monitor has only 60 Hz modes officially integrated, but is actually capable of 75 Hz. I was able to do so on Windows with NVIDIA card. Unfortunately, either because of Intel card or different OS, right now I can only do 73 Hz otherwise it is messed up, but at least it's not 60 Hz.
@sgr_sgr
@sgr_sgr Жыл бұрын
Wow! Thanks for your time & effort putting all this together. I’m going in!
@pajeetsingh
@pajeetsingh 5 ай бұрын
Gentoo is so much better than Nix configuration thing.
@samsh0-q3a
@samsh0-q3a Жыл бұрын
I've been eyeballing NixOS but ive been comfortable in Debian for so long.. IM AFRAID OF CHANGE 😅 ill look at it eventually lol
@danwake4431
@danwake4431 Жыл бұрын
i feel the same. im so freakin happy with MX Linux and xfce. people talk about nix being so stable but i dont have any problems with mx. so its like, what else ya got? lol. i play with manjaro, mint, fedora, and pop on my other boxes for fun but i could format those drives and not shed a tear. ill probably delete mint at some point and try nix i just dont know why.
@ppen9u1n
@ppen9u1n Жыл бұрын
​@@danwake4431 considering MX is so stable in the sense of "very slowly changing", that's a fair point. The stability of nix(os) is praised because it is stability "in the face of rapid change", which is arguably a different use case. But I also like to think of it as a "configuration effort insurance", meaning with NixOS I know that I never have to painstakingly configure my system again (not even remember which apps I want installed), whatever happens.
@momomaniac1234
@momomaniac1234 Жыл бұрын
well done Chris 👏🏻👏🏻👏🏻👏🏻
@gwgux
@gwgux Жыл бұрын
Funny, suddenly today, I'm seeing videos about NixOS suddenly show up on YT. NixOS has been around since before Ubuntu but it's always been that quiet one in the back of the room kind of distro for me with the louder ones, Arch, Fedora, Debian, Ubuntu, etc., having the main focus. Definitely time I finally take a look at this one.
@danwake4431
@danwake4431 Жыл бұрын
same for me. today half my recommended videos are about nix and i had never heard of it before, certainly never searched for it. did they pay for that or what lol
@ChrisTitusTech
@ChrisTitusTech Жыл бұрын
I have been streaming it for 2 week straight and talking about it on twitter. I guess everyone decided today was the day to put a video out about it. I only looked at it because of the job offer I received last month.
@shambali293
@shambali293 Жыл бұрын
Add "apx" to your Nixos config for everything that isn't already in the nix repository (which is admittedly huge).
@rursus8354
@rursus8354 Жыл бұрын
I think this OS is historically important. Linux sysadmins, as well as programmers will prefer this OS, once they become acknowledged with it.
@dljohnsonmusic
@dljohnsonmusic Жыл бұрын
This seems pretty awesome....I can't wait to do a deep dive using the items you provided 🙌
@longlost8424
@longlost8424 Жыл бұрын
as usual chris, another amazing tutorial for both noob and advanced.....
@chrisallen6010
@chrisallen6010 Жыл бұрын
Looks like a nice configuration management built into the OS like Puppet or Chef. Reminds me of the 'gitlab-ctl reconfigure' command.
@SMOKE3104
@SMOKE3104 Жыл бұрын
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 Жыл бұрын
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.
@ottolehikoinen6193
@ottolehikoinen6193 Жыл бұрын
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.
@rabidrivas
@rabidrivas Жыл бұрын
I have two questions: Do you plan to daily drive this? Can you link the job postings?
@ChrisTitusTech
@ChrisTitusTech Жыл бұрын
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.
@flirtypie
@flirtypie Жыл бұрын
An app that makes a config file for nix os would be nice. Like the debloater you have for windows, just for nixos before install.
@andrewferguson6901
@andrewferguson6901 Жыл бұрын
Gcc can do it
@andresandrek88
@andresandrek88 Жыл бұрын
Thanks Chris for you educational videos! much apreciate all your work. kind regards from Argentina
@triffy3402
@triffy3402 Жыл бұрын
I'm really like your Channel that's make me challenge for me to change from windows to Linux and I like it open world , do you think nixos is good for gaming and programing??
@ChrisTitusTech
@ChrisTitusTech Жыл бұрын
Any distro can be good, but Nix will require quite a bit of configuration. I wouldn't recommend it, because for would need also need to build out shells for your programming as well. Lots of work where I'm a bit lazy and prefer just debian for most of my programming.
@Ski4974
@Ski4974 Жыл бұрын
NixOS is good for programming because you can easily craft dev environments with the right dependencies in a reproducible manner. See direnv and devenv projects.
@mbrock5532
@mbrock5532 Жыл бұрын
Very cool! I'd seen this off and on but never really investigated it. Sounds fascinating.
@Immortus27
@Immortus27 Жыл бұрын
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 Жыл бұрын
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).
@foreignconta
@foreignconta Жыл бұрын
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.
@agh0x01
@agh0x01 Жыл бұрын
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.
@RobFisherUK
@RobFisherUK Жыл бұрын
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.
@esaedvik
@esaedvik Жыл бұрын
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.
@omni4376
@omni4376 Жыл бұрын
Interesting package system. Someone should tell those guys about containers.
@TheOne-ok7gn
@TheOne-ok7gn Жыл бұрын
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.
@_taylor_v
@_taylor_v Жыл бұрын
Great video! Are you recording this on a NixOS machine? Or is this some kind of VM?
@endermanofficial
@endermanofficial Жыл бұрын
just remember: as the rate of consolidation increases so does the corruption. Consolidation centralizes power and the bad actors are attracted to it like a moth to a flame. Segregation, compartmentalization and isolation is important
@rursus8354
@rursus8354 Жыл бұрын
Sounds profound, but it is probably not true. Debian. Not corrupted. Corruption is probably due to the lack of democracy, and the ability for bad persons to rise where there is no scrutiny of their behavior.
@endermanofficial
@endermanofficial Жыл бұрын
@@rursus8354 so sjw activism is supposed to be a FIX? um.... no. democracy is the majority rule, so that's another big no from me. I can assure you though: I am correct in my assertions and you will come to understand this, one way or another. i hope it doesn't cost you too dearly in the meantime
@davidprock904
@davidprock904 Жыл бұрын
Thank You, Thank You, Thank You Very much!
@mrwhitebp
@mrwhitebp Жыл бұрын
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.
@peachy7776
@peachy7776 Ай бұрын
obviously rule number 1 is back up and version this file
@vlya1533
@vlya1533 Жыл бұрын
It would be nice to make a review comparing nixos and guixos
@knightwolf8877
@knightwolf8877 Жыл бұрын
Yes finally love the concepts going to install this tomorrow
@_modiX
@_modiX Жыл бұрын
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.
@fontenbleau
@fontenbleau Жыл бұрын
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 Жыл бұрын
@@fontenbleau 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.
@fontenbleau
@fontenbleau Жыл бұрын
@@_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 Жыл бұрын
@@fontenbleau 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.
@mc-not_escher
@mc-not_escher Жыл бұрын
I’m on a Manjaro system at the moment. Running Plasma Wayland with a btrfs disk and I am failing to see why NixOS is *that* good otherwise from a deployment standpoint (which doesn’t make any difference to me whatsoever with a single system under my administration). Maybe if I were imaging lots of stations I could agree, but perhaps I’m just missing the point here. Looks slick enough though.
@adrianscarlett
@adrianscarlett Жыл бұрын
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.
@JohnDoe-lg8zt
@JohnDoe-lg8zt Жыл бұрын
Yet another layer between the user and the system. On paper, it's enticing to centralize everything into one configuration file and let the magic handle the rest. I tested NixOS and quickly reverted back to Debian and Ansible. In certain situations, you end up being hindered by its rigidity and the documentation is subpar. It's worth investing time in understanding a GNU/Linux system and scripting appropriately for automation.
@_boux
@_boux Жыл бұрын
I always wondered why linux package managers didn't support version targetting to avoid dependency hell where upgrading a library can potentially blow everything up, maybe I should give NixOS a try
@andham95
@andham95 Жыл бұрын
Nixpkgs is more similar to other package managers than you might expect, in that regard. Out of the box you can not upgrade a single package, you can only upgrade your entire system. The nixpkgs repo mostly has a single version of any given package at any given time - though for major packages or language runtimes (like node or ruby) it's common to have distinct packages for different major versions. Pinning a single package from an older version of nixpkgs is certainly possible, and works pretty well, but it's a bit advanced, and has its drawbacks. For example, an old package will use an old version of OpenSSL, no matter what. Nix more or less forces all dynamic linking to be "static".
@nmac101
@nmac101 Жыл бұрын
Finally I found the perfect os. My long journey was Ubuntu > Kubuntu > Xubuntu > Linux Mint > Debian > Arch Linux > NixOS
Stop using APT
9:56
Chris Titus Tech
Рет қаралды 539 М.
NIX OS: the BEST package manager on the MOST SOLID Linux distribution
17:08
The Linux Experiment
Рет қаралды 325 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 97 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 5 МЛН
Linux Problems
11:39
Chris Titus Tech
Рет қаралды 161 М.
The Linux Tier List
27:34
Chris Titus Tech
Рет қаралды 1,2 МЛН
Nix - The Best Package Manager
13:04
Mental Outlaw
Рет қаралды 163 М.
I ranked EVERY terminal emulator. It was nuts
20:35
typecraft
Рет қаралды 135 М.
The 11 Best Linux Distributions
16:23
Titus Tech Talk
Рет қаралды 211 М.
The Painful world of Linux Ricing | A Hyprland story
13:01
typecraft
Рет қаралды 64 М.
Atomic Desktops
16:14
Chris Titus Tech
Рет қаралды 55 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 691 М.