🚀 My Practical Neovim Course (private community included): ampersand.onlinecoursehost.com/courses/neovim ⚙ My NixOS config: github.com/Andrey0189/nixos-config 📝 PhD thesis: edolstra.github.io/pubs/phd-thesis.pdf
@oglothenerd7 ай бұрын
You and Vimjoyer are probably the future of NixOS actually having good tutorials and documentation.
@callyral7 ай бұрын
There are also a lot of unofficial guides online, a lot of them in blogs.
@aleclowry76546 ай бұрын
I’m gonna bootstrap this comment to represent my other favorite nix KZbinr youtube.com/@librephoenix?si=MzAUufEq6e3PEzEN
@Microphunktv-jb3kj5 ай бұрын
does it work in virtualbox... (some distros literally dont because of not real hardware... or lag hardcore..) i wanna conf a hyprland based nixos.... got nixos installed as windows subsystem, im suspecting it doesnt have all the features... wouldnt want to conf a system first in virtual... before i would move over from windows... win pissing me off for years already... but cant get rid of it because of some software i have to use... but its giving me problems in development... Node / npm ecosystem specifically, weid glitches nad probs... wanna move over to linux anynways, because im not planning to use win11 (win11 might be just be greatest creator of new linux users....) i like the idea of nix.. becausee it reminds me of Node/npm+Docker , you can modularize ur config via home-manager / flakes or smt...
@StrangerOnTheWeb5 ай бұрын
NixOS has no future, at least not a good one
@oglothenerd5 ай бұрын
@@StrangerOnTheWeb It has a future. I just don't see that future being for the desktop. But for the server? Oh yes! I see a future!
@JaLikon657 ай бұрын
My brother in christ - this is EASILY the best intro to Nix I've ever found! Thank you so much for putting this together. You covered so much ground here, from clearly explaining the benefits of Nix, to the basics of the Nix language (which I've never seen any other Nix video go over), to productively using NixOS. I mean this is seriously just awesome man! Thank you so much for putting this together!
@rschmidtzalles3 ай бұрын
Guides that combine Theory + Practical are a bless for open sources. Great Job and thanks for sharing
@YingjieWang2477 ай бұрын
Awesome! As a linux user, I have heard of NixOS and got interested in it since two months ago, I did install it in a virtual machine, but never really understood what's going on in it, so just put the virtual machine there. This video is so clear and makes me feel like I can play with it again!
@FedoraSilverblue4 ай бұрын
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?
@Jubijub2 ай бұрын
This is and by far the best intro material I have seen on how to get started with Nix. Well done ! The practical part of the video should be an official doc...it isn't sadly
@peterlance66825 ай бұрын
This is one of the most beginner friendly explanation on Nix i have seen so far. I can't thank You enough. Awesome and keep growing.
@skyguytoronto4869Ай бұрын
best nixos flakes + home manager install guide
@TheMadSqu6 ай бұрын
This was pretty cool! I understood maybe half of what you said there but the way it was presented and explained was done very well! I am using Arch btw.
@adjbutler5 ай бұрын
just tape your eyes open and rewatch again and again until you become truly part of the nix cult! hahahaha
@kahnshaakАй бұрын
Nixvim video when?? This is too good!
@luv2stack7 ай бұрын
I knew nothing of nix before this video. It looks evolutionary
@crackedoutofmymind-h8m7 ай бұрын
anime waifu at the side of a nix tutorial sign me up
@noisetide7 ай бұрын
the confiscation of the nix-chan meme made my day!
@scar60737 ай бұрын
She's cuter than windows-chan
@ice.songpola6 ай бұрын
I'm done with Windows-gaki. Nix-chan is my new waifu!
@cl46557 ай бұрын
Always a surprise finding Creo enjoyers randomly on the internet
@Jarx2467 ай бұрын
represent
@animainmilol4 ай бұрын
WAIT, ITS CREO?
@abystrous3 ай бұрын
creo mentioned, instant subscribe
7 ай бұрын
Great presentation. Kudos also for wayland vs X11 & hyprland.
@cariyaputta7 ай бұрын
Looking forward to the Nix Drama video.
@j1d7s7 ай бұрын
Thanks for the information-packed video! I tried out NixOS once but did not continue. I may not yet have felt the pain enough on my Arch based system to do the switch, but I am intrigued and may start soon trying it out on a spare laptop.
@scar60737 ай бұрын
Thank you so much for this! Finding good nix resources is so hard
@maxreuv7 ай бұрын
Excellent intro, thank you!
@urriell_80694 ай бұрын
Let's hope for more films like this. Thanks for this one :))
@plbr27 ай бұрын
О, а вот и причина пересмотреть твой видос по NixOS)
@starrwulfe6 ай бұрын
this was the guide I was looking for. Thank you so much-- I've downloaded the transcript and saved it as a doc on my system so I can reference it even.
@aussois10275 күн бұрын
Thanks for the great idea! *Yoink*
@randomsearches3697 ай бұрын
You are the one, Thanks a lot!
@evo66707 ай бұрын
Great Video! Help me a lot. Want to see the vim video. 😂
@marvin93463 ай бұрын
+1 for nixvim tutorial
@liesdamnlies33726 ай бұрын
This is very exciting from the perspective of someone already comfortable with Linux and actual sysadmins. I’m even more interested to see if this declarative method can be brought to a more beginner-friendly distro, or if some enterprising people will create a distro of NixOS that’s at least what endeavourOS is to Arch. I have to get a new laptop soon anyway, I might try NixOS, though imagine I would miss the Blackarch repos pretty quick. (Unless I can find all those tools in the nix repos…)
@nocodenoblunder66725 ай бұрын
Really like the analogy at the start
@fsefso75877 ай бұрын
In 17:42 it should be --update instead of update, great vid btw :)
@Ampersand-xc9jp7 ай бұрын
You are absolutely right, I genuinely forgot about that 😅
@squidiebah6 ай бұрын
Good video, I''m curious as to the use-case for this type of distro. Perhaps appliances, routers and security roles?
@tobzdaman6195 ай бұрын
Yep, this video is the ONE. Thank you so much! :D
@alexvarnavsky37397 ай бұрын
Man what a great work 😅
@BettersonMcgee7 ай бұрын
very informative and interesting! Thank you!
@TheMadMagician876 ай бұрын
Great video mate, thank you!
@bobmcbob43995 ай бұрын
Thanks for drilling into this. Great metaphors to introduce pure functions and immutability. One concern that I have is at 9:30 We can see a boot selection screen that appears to be UEFI boot selection? Is it UEFI or is it GRUB. Because if, I make several OS snapshot pointers and each of these are entries into the UEFI boot menu - I worry about FlashRom wear levelling. How much punishment can a Bios Flash take before it fails and needs to be replaced on your motherboard?
@richardminasian9835 ай бұрын
Yes, I like to see the Nix Vim guide please.
@eternalboy16666 ай бұрын
great video! Subbed
@yash11525 ай бұрын
timestamps (incomplete): == Start == 0:00 Intro == Theory of Nix pkg/conf-mgmt == 0:23 History & Origins 2:20 Nix's Solutions 2:25 Isolate Every Pkg 2:57 Deterministic Nature 3:37 Functional Nature 4:10 Immutability 4:25 Atomicity 4:54 Derivs in primitive lang 6:12 Nix-Pkg: Repo & Channels 6:38 Analogy: Prog-langs & Pac-mgmt 8:20 Extending to NixOS & conf-mgmt == Using NixOS: 1. Live Boot == 09:46 Practical Part: Intro 09:58 Getting the ISO 10:17 Partitioning, Mounting, Gen-Config == Nix Language == 10:39 Nix-l: Intro 10:48 Data Types 11:10 Variables let..in, with, inherit, @ 11:29 Functions == Using NixOS: 2. Finishing Installation == 11:58 Quick Configuration 12:20 nixos-install 12:33 disko Partitioning 14:15 Installing & Finding Packages 14:55 nixos-rebuild switch 15:08 reboot bootloader menu entries 15:30 no-rb subcmd: boot, test 15:44 ... 18:32 home-manager
@yash11525 ай бұрын
Old Coarse timestamps: 00:00 Intro 09:46 Practical Part of NixOS 18:32 Home Manager 20:01 Nix Flakes 24:49 Modularising config files
@yash11525 ай бұрын
9:46 practical part of distro
@yash11525 ай бұрын
20:01
@yash11525 ай бұрын
24:49 modularising config files
@narconyx4 ай бұрын
Tysm for this, gonna try installing NixOS tmrw hoping it goes better than Arch did -_-
@derkommentator33485 ай бұрын
If I use "unstable." (17:48) I receive an "undefined variable" error. Did I forget something? :/
@TheMotorcycleBoy-pe2eg7 ай бұрын
Very good presentation
@e-v-o-l-v-e7 ай бұрын
this is an really good video
@splits89993 ай бұрын
honestly nix seems really cool but the sddm theme i use wasnt on their repo also i feel like i dont need it and i like my system being chaotic but i also like the cleanliness of the single config file and declarative approach. its rly attractive but i think for now im sticking to arch, maybe one day ill feel the urge to distro hop though btw this was the best intro to nix
@niksingh7107 ай бұрын
i need a nix vim guide but i also felt you kindda skipped or tried to compress the content to make it in short time span i would like to see this elaborated
@JacksonNick-j6iКүн бұрын
Nix approach to isolated packages and libraries leads to high storage usage, doesn't it?
@yash11525 ай бұрын
6:08 _"log2(32)"_ where did the "32" came from? * if hex, it should be 16 * if alphanumeric, it should be 36 (10 + 26)
@eduardabramovich12166 ай бұрын
Man, please create more tutorials on flakes to learn the nix language, hopefully you can focus them on customizing the prompt/shell, neovim-nixvim, and many more stuff. You really explained like a Nixgod, but for newbies like me it's difficult to follow your pace. I will watch this video several times.
@MechMK16 ай бұрын
Nix still feels like such a huge new thing to wrap my head around. Is there any place you can recommend to ask questions?
@johnr39367 ай бұрын
I would love a deeper dive into flakes. As a software dev they would be very necessary for all my random projects though after a few hours of research its hard to see how they fit into the system.
@fabianoslack42697 ай бұрын
4:19 ok, i get the idea regarding to binaries. But what about config files. Maybe package 1.1.0 and 1.2.0 will receive instructions from a config file and this can create an struggle here, right? Lets say config file for 1.1.0 have a property while config file for 1.2.0 have same property and once these two different are executed , they crash due to common values touching each other on the system… Im new to nixos (found it few hours ago, so i dont know if my question is dumb or not). Let me know. Nice video and thank you!
@CrazyMineCuber7 ай бұрын
Configuration is normally treated completely separately from the binaries on NixOS. Configuration is instead treated through the NixOS module system, which compiles the /etc directory and creates symlinks from /etc to the configuration files in /nix/store. For configs in your home directory, NixOS by default does not manage your home directory. That is what home-manager is for. Normally, you do not have multiple versions of the same application installed. If you do, both versions are probably configured to read from the same config file, so they will just use that one. If you somehow manage to convince the NixOS module system to generate two versions of the same config file, you will get a compilation error and you have to fore chose which version to use.
@Ampersand-xc9jp7 ай бұрын
Yeah, basically, both packages read from the same config. If these configurations are incompatible between versions, it can lead to conflicts and crashes. But I personally haven't encountered crashes because of the different package versions
@sharukhrahman79257 ай бұрын
Hi im new to linux and i want to (just learn) how to do a minimal install.. if possible can you make a video of that in the future?
@ludawig_6 ай бұрын
Thanks for your Guide. Is it possible to use a default.nix file instead of a bundle.nix file, so you can just import the folder name. e.g. imports = [ ./modules ./plugins ]? Should be possible, but I'm not 100% sure.
@hyquiemistheg.o.a.t16715 ай бұрын
Can you do a video with impermanence setup?
@ФеофанЭтополедолжнобытьзаполнеАй бұрын
I've heard some transessses' kicked out creator of nixos. Is this true?
@Cypekeh4 ай бұрын
After I moved my config to ~/nix, can I remove the files in /etc/nixos?
@aussois10275 күн бұрын
/etc/nixos/ is where your configuration.nix lives. It is the spot where nixos-reload looks for a config. hardware-configuration.nix should stay there too. Why would you want to delete the files in /etc/nixos?
@yash11525 ай бұрын
i dont run "nixos-rebuild switch" every time. i run "nixos-rebuild test", and the switch one i run only at last while finalizing the config after allll tweakings and testing of the options.
@nerdg27 ай бұрын
thank you!
@grzesjedrzejak3997 ай бұрын
Question to creator if video! Can you list me advantages that nix os has over debian? But, be real i dont need a reproducaple system and i use linux to work (hardware design and embedded). I am planning to use nix at arm, is it good idea?
@crackedoutofmymind-h8m7 ай бұрын
Debian is just shit man if not nixos might as well use arch but not debian no good support or community you gotta figure it out thru old arse forums + not that great of a package manager too
@Ampersand-xc9jp7 ай бұрын
If you want a really stable system where you control almost everything, then you'll like NixOS more than Debian. Also, if you are going to use multiple ARM devices, Nix's declarative approach ensures that your setup can be reproduced reliably across them. There are fewer resources specifically tailored to using Nix on ARM compared to x86. However, this gap is gradually narrowing as interest in ARM-based systems grows
@grzesjedrzejak3997 ай бұрын
@@Ampersand-xc9jp Thank you.
@chickenonaraft5087 ай бұрын
If this was around earlier, we wouldn’t have needed Docker
@edhyjoxenbyl14097 ай бұрын
The pacakge manager graph is slightly out of date, we are that 92000 packages :)
@adjbutler5 ай бұрын
we are over 100k now. so only 92000 :( on graph. the graph needs updating!!!!!
@edhyjoxenbyl14095 ай бұрын
@@adjbutler repology does not count the package number the same way as nixpkgs does. the channel json file as about 118k packages in it
@cat476 ай бұрын
funny how you blur out your email at 19:50, when anyone can just clone the repository in the description, run git log, and see your email on every commit
@originzz7 ай бұрын
We need an r/unixwaifus
@yash11525 ай бұрын
9:46 practical part of distro
@yash11525 ай бұрын
14:10 "run 2 commands" well, u forgot the disko related command at 13:46
@aviatoFPV4 ай бұрын
@@yash1152 This is where I'm running into issues as well, at 14:00 after running sudo nixos-generate-config --root /mnt && nixos-install I get writing hardw.nix and conf.nix and then I get mktemp failed to create directory via template /mnt/tmp.xxxx: permission denied I seem to be able to get past it by making myself superuser first with su - This command also seems to generate a new configuration.nix would it be possible to use an already existing configuration.nix instead of generating a new one? Or is it always build first with generic and then do a nixos-switch with the updated config?
@TheAmazingPlankton5 ай бұрын
Can i Switch from KDE Plasma to Hyprland? How simple is this?
@vintagegeniousАй бұрын
In nixos really easy iirc
@КатяМухина-л2о7 ай бұрын
thank you for your hard work
@Nerd2Ninja7 ай бұрын
Alright watched the video. It was okay I guess. I take things really slow though. Kinda wish there was a video series for flakes the same way there are video series to learn other programming languages. I know it sounds like "why?" like it should be too simple for that at first, but really go over every programming language edgecase. How do you install a node.js program with a flake, how do you install a golang package? I think the most basic flake tutorials only cover installing C programs right? and then it could progress from there into dream2nix or something after all those cases are covered.
@adjbutler5 ай бұрын
when it comes to programming developer environments I had to stop thinking about "installing" node or python or whatever globally and fully embrace nix-shells for programming in. It is the best way to work as a programmer anyway.... I work with about 15 different programming languages and it is really nice to have a nice clean shell for each version. just start with making a very simple shell.nix file that has node as a package and run nix-shell in the same directory to start.
@adjbutler5 ай бұрын
you don't have to use flakes for everything or at all to get started with nix. just start with configuration.nix and shell.nix I have been using nixos for about 18 months, become a package maintainer and a few other things, and I still do really use flakes as much as I want to.
@adjbutler5 ай бұрын
@Ampersand-xc9jp maybe a video on how to setup a basic shell.nix file for simple dev env>?>??? to help here>?
@areweevensomeoneoutthere5 ай бұрын
14:12 This doesn't work, you are generating the config with nixos-generate-config ...
@JoshuaT9022 ай бұрын
All we need is a useful wiki - instead of having everything organized in video form or forum posts.
@louisunruh23862 ай бұрын
nice one
@2Kaleb5 ай бұрын
Dude have timestamp?
@rimenahi4 ай бұрын
That's it. I switch.
@AlaaSaidAhmad7 ай бұрын
Nice wallpaper how can I download it
@Redyf6 ай бұрын
NixOS MENTIONED
@adjbutler5 ай бұрын
lets gooooo!
@yash11525 ай бұрын
💩💩 > @adjbutler: _"lets gooooo!"_
@AshliBlattgold4 ай бұрын
Ich finde Nix gut
@Edgar-pu1lc7 ай бұрын
Theme and icon name in neovim ?
@Ampersand-xc9jp7 ай бұрын
Oxocarbon
@BlackTakGolD7 ай бұрын
Some of the description's links are not formatted correctly.