I am sorry, but is this a Nixos tutorial for "beginners" ????!!!!!
@WhyDoesNothingWork5 күн бұрын
I intended it for people with Linux experience but not NixOS
@nikolaygalkin9 күн бұрын
Please! Make your tapping more louder. I can't hear it. Reload all your videos with only tapping noice. (sarcasm)
@WhyDoesNothingWork5 күн бұрын
I will make sure my mic is closer to my keyboard next time, thanks for the tip
@mgord951810 күн бұрын
This is pretty incredible. I initially skipped over this video and just threw the official NixOS image onto an SD card and put it on my Pi 4, but was disappointed to find out it didn't come with NetworkManager so I couldn't easily connect to my wifi. Came back to see what it was about, copied your config, added NetworkManager and built it on my laptop (I already have aarch64 emulation enabled) and it works out of the box! Do you know of any options to change the filesystem format, automatically add files, etc? I've been trying to read through nix-generators source and can't find anything.
@darkvibes592718 күн бұрын
this is awesome!! keep going good job
@Woolfy0919 күн бұрын
I've tried to install via the Live ISO (Plasma) but, I can't even get it to boot! I've tried DD and a few other things but, I just get the black screen. Still trying to find a guide to install Plasma KDE. If I figure it out, I'll definitely follow this guide for the beginning of the install. Thanks for the video.
@Styloboyness21 күн бұрын
Thanks for the tutorial! Weirdly my steam deck doesnt recognize the built in wifi, neither during the install nor in the installed os. Did you do anything to get wifi working? Or perhaps you have the lcd model?
@WhyDoesNothingWork21 күн бұрын
I have the LCD model, I didn't have to do anything
@Styloboyness21 күн бұрын
@@WhyDoesNothingWork Oh I see, that might be the reason. According to the arch wiki, archlinux works. So I guess it's arch linux for now :')
@Styloboyness6 күн бұрын
After some research, it turns out the drivers for WiFi and Bluetooth are already upstream in the Linux kernel. Setting boot.kernelPackages = pkgs.linuxPackages_latest in the config and rebuilding updates the kernel, which enabled WiFi and Bluetooth.
@EliasX96222 күн бұрын
Thanks for the Video! Keep going!
@adammontgomery798025 күн бұрын
I feel really dumb watching videos about Nix, especially about flakes. I still don't know what is meant by a 'flake'; even the NixOS wiki is extremely opaque and vague. I completely understand the benefit of having a deterministic system, a software defined OS, but everything about it is impenetrable to me: the syntax, what problem we're solving, upstream packages. The only thing I really like about it is nix shells.
@WhyDoesNothingWork25 күн бұрын
Flakes are a lot of things it's basically a way of more tightly controlling the source of your inputs when youre building something with nix, in this video the context is mostly for building a system, and what it does is locks the sources to an exact state of the git repo so if you do have to start from scratch you will get identical results. Flakes are a lot and took me quite a while to get a grasp of so don't feel discouraged
@KasumikoCh25 күн бұрын
When I try to install it, my computer says "This computer does not satisfy the minimum requirements for installing NixOS" When I'm fully aware it does. Does anyone know how to fix this?
@_garicas26 күн бұрын
That was perfect. Thank you so much!
@IKnowYourSecret98927 күн бұрын
I don't have the erase disk option not sure how to do the manual pertations i tryed, /, /boot, but not working
@BartTrojanowski29 күн бұрын
getting an error on raspberry-pi-5 running Debian 12... error: getting status of '/nix/store/ly4s3hw35dd1c2vsd694y2715pc1d2c1-source/nixos/modules/virtualisation/disk-size-option.nix': No such file or directory this is on aarch64, so I'm not sure why it's trying to do any virtualisation.
@copper4evaАй бұрын
Great video. One thing to point out, is its best to update the channel in root. For me, I was constantly confused by running nix-channel and getting nothing returned. And it's because I ran without sudo/root, so it was returning what my user has. Which was nothing.
@WhyDoesNothingWork25 күн бұрын
Thanks for pointing that out a bit of an oversight on my part so much of it is habit that i sometimes take things like that for granted
@lukeskywalker7029Ай бұрын
if I understand correctly, balena etcher is not really recommended to create the Live USB as people seem to have issues with Live USBs created with balena or similar tools...
@WhyDoesNothingWorkАй бұрын
Etcher is the tool they reference in the official NixOS documentation. Any image writing tool will fail for some people on some USB drives on occasion
@jheregreignАй бұрын
I struggled to get systemd-networkd functioning with a wireguard netdev. (I think something about my impermanence / tmpfs root was causing issue perhaps, interface not being created) So I ended up using wg-quick, though I did need to add "::0/0" to my allowedips. (proton)
@alst4817Ай бұрын
That timer is giving me pure anxiety
@WhyDoesNothingWorkАй бұрын
Imagine trying to record it 😁
@mgord9518Ай бұрын
9:30 wouldn't setting hostSystem be an issue with only a single hash? Because the releases for different architectures would have different hashes
@ruhnetАй бұрын
Wake up the dog!!!! 😂
@dmitriyzlobenets83652 ай бұрын
Instead of balena we can use Ventoy. Thanks for sharing.
@sailendragautam62682 ай бұрын
I'm using Nix in my ubuntu. How do I configure the required settings to add the derivation as a package?
@Username5H02 ай бұрын
The plasma iso basically bricked my USB when I flashed it with balena etcher. Can't even format it anymore.
@WhyDoesNothingWork2 ай бұрын
Are you using windows? You will most likely need to repartition your USB key to correct the issue, windows GUI tool often doesn't work but there are lots of guides for repairing the partition table via the command line
@Username5H0Ай бұрын
@@WhyDoesNothingWork tried both gui and cli tools, both on windoes and linux, without anything working, so I decided to just put the USB in a electronics recycling box. Had another USB laying around though, and got NixOS working now.
@bassam.20232 ай бұрын
4 raspberry pis, 2 other SBCs, 15 years of linux experience, but I still couldn't get this to work. 😢 Still great content! Upvoted!
@WhyDoesNothingWork2 ай бұрын
Were you trying it on rpi5? Those don't work right
@bassam.20232 ай бұрын
@@WhyDoesNothingWork Raspberry Pi 4-2GB running bookworm. I was very careful. This was about 1-2 months ago. I have custom images for RpiOS and armbian for my devices, so NixOS seemed like an obvious choice. I do have an old T530 Thinkpad that is not in use, maybe I'll give NixOS a go on that. Still would like to get Nix going on my SBCs because I'm always experimenting with those devices, so being able to flash a custom image/setup is kind of essential.
@PetrSUsername2 ай бұрын
Hi, please, why have you ran sudo nixos rebuild switch first time but without sudo when rebuilding with docker?
@WhyDoesNothingWork2 ай бұрын
I was already in a root shell at the time, sometimes even when I'm in a root shell I put sudo still out of habit
@PetrSUsername2 ай бұрын
@@WhyDoesNothingWork oh thanks
@christiansinger24972 ай бұрын
Already learned a lot in the first two tutorials! Thank you :)
@rahiali27252 ай бұрын
Hi, can you give me your insta/fb?
@mgnishibuya12 ай бұрын
It only work for vitual machine. I tried on my main pc. Calamare couldn't even start. Freeze on running udev ... Starting systemd-udevd version 255.9 Nothing happen then.Frozen. btw i have intel cpu with No integrated. But i have Nvidia gpu. I don't think it doesn't matter. I can install any other distro as usual. This one just broke me
@WhyDoesNothingWork2 ай бұрын
Sorry the graphical install didn't work for you it works on most hardware and not just VMs I've run it on hundreds of machines without issue. The text based installer should work. Most of the time it's Nvidia related when NixOS doesn't work out of the box
@dmitriyzlobenets83652 ай бұрын
@@WhyDoesNothingWork I have faced with same issue. I have installed NixOs but after reboot it hangs and I unable to even see logs because it hangs earlier then even kernel start load
@ruukes47702 ай бұрын
WOuld this work if im currently running FreedomBox on my raspberry pi instead of rapbian
@WhyDoesNothingWork2 ай бұрын
I'm not familiar with feedombox but any Linux distro will work if you can install the nix command, it appears to also be a Debian derivative so very likely will work about the same
@uncleted93622 ай бұрын
Thank you! No one else explained that I need to manually update the version number. It seems obvious but I just couldn't find confirmation anywhere.
@markdue92023 ай бұрын
Your videos are awesome covering nixos is hard yet you're doing great job. One thing though, it'd be easier to read if the font was bigger
@WhyDoesNothingWork3 ай бұрын
Thanks!, In my newer videos the fonts are much bigger
@NormTurtle3 ай бұрын
would be good. if each command reference was in description.
@JustAlternate3 ай бұрын
Your video are fire, keep going
@WhyDoesNothingWork3 ай бұрын
Thanks I will get back to them very soon, once the chaos of new school year is over, I work in education and have little ones home for the summer as well
@JustAlternate3 ай бұрын
@@WhyDoesNothingWork do you already have ideas of topics you will make videos on ?
@WhyDoesNothingWork3 ай бұрын
I have some ideas, and a few requests as well there are 2 I've already started since they're related to other projects I've already been working on, one is ceph related and the other is arcade emulation related
@sebastiankutter36303 ай бұрын
Great video as always. I have 2 wishes: 1. a video on organizing the configuration for multiple machines (which don't actually use the same configuration but different ones) 2. a video on nixos-anywhere, where you could use flakes to build one or maybe even multiple hosts from one central system (admin-workstation -> server1..n).
@WhyDoesNothingWork3 ай бұрын
1. I dont know if i'll get to making a video on that, but my method is i have a gitrepo for my nix configs and each system gets a folder with its hostname, or somefolders for groups when i use the same flake on many machines. 2. I havent used nixos-anywhere much other than just for quick testing my prefered method is to generate custom images and then deploy off those using something like terraform, i may make a video on this in the future i have a lot of videos in my queue and I'm way behind since summer is short in northern canada and i've been busy enjoying it with family
@yash11523 ай бұрын
2:54 i think nativeBuildInputs is used for specifying the compiler etc, the buildInputs is used for includes, imports and libs etc.
@WhyDoesNothingWork3 ай бұрын
correct you can use nativeBuildInputs for the compiler, and its probably better to do so, basically buildInputs is any libraries and depends, nativeBuildInputs is depends only required at build time and not runtime so gcc and go etc should be in nativeBuildInputs, that being said it works either way it just uses up a bit more disk space unless you optimize your nix store, as well as things like autoconf, automake any utilities that do sanity tests etc.
@yash11523 ай бұрын
@@WhyDoesNothingWork i think nixos automatically runs the command for optimizing the nix store after every 7 days. i read that somewhere, probably in the description in search dot nixos slash options smth smth. > _"it works either way it just uses up a bit more disk space unless you optimize your nix store"_
@WhyDoesNothingWork3 ай бұрын
It only runs it automatically if you configure it to do it, it can also run on every rebuild if set to do so, it's slow and resource intensive I cover it in my video on NixOS maintenance
@muhammadadribmahmud50123 ай бұрын
Struggling to run appimage, thanks to yu
@yash11523 ай бұрын
1:03 doesn't arch's pkgbuild files do the same?
@WhyDoesNothingWork3 ай бұрын
sort of it has some things in common with this but arch packages in general have a very different approach
@Rypervenche3 ай бұрын
I just packaged my first Rust program thanks to this video. It worked perfectly and wasn't super convoluted like some other guides out there. Thanks a ton!! <3
@WhyDoesNothingWork3 ай бұрын
I'm so happy to hear this! I'm glad to have helped
@mateowoetam3 ай бұрын
This is dope, I wonder how it interacts with Chaotic Nyx's pkgs like the CachyOS kernel and some of those other modified packages.
@WhyDoesNothingWork3 ай бұрын
I haven't tried, I'm not sure if it would be worth it for the kernel this already uses a pretty well optimized kernel for the tasks but it would be fun to try
@CodeCowboy643 ай бұрын
Thank you so much, great tutorial! Wish the terminal font was a bit bigger so it could be better watched, but it's super helpful, thank you!
@WhyDoesNothingWork3 ай бұрын
Thanks I have heard this about the font a few times and in my newer videos it's much larger
@yash11523 ай бұрын
11:18 Command to build and run our package.
@yash11523 ай бұрын
6:33 i just noticed that the KDE DE's taskbar looks just like win10's taskbra 👀 the 2 line time/date, the expand accordion arrow, the network widget icon, the glance desktop icon, etc...
@yash11523 ай бұрын
5:59 6:05 who's snoring behind u lol 😆
@WhyDoesNothingWork3 ай бұрын
My dog :)
@yash11523 ай бұрын
hi! ur videos seem nice. but please try to remove the subtle noise from the audio and boost the volume levels a bit (though, keep the volume levels consistent/normalised throughout the video) 5:59 6:05 who's snoring behind u lol 😆
@WhyDoesNothingWork3 ай бұрын
Yeah audio is difficult it's been a constant challenge I'll keep working on it
@yash11523 ай бұрын
@@WhyDoesNothingWork why? i heard it's pretty simple. though i have never tried it. 0. get a lavelior mic - costs about 6-7 USD, cling it onto shirt. 2. record an ambient 5 second sample before speaking. 3. perform a noise removal with that sample in audacity. > _"audio is difficult it's been a constant challenge"_
@WhyDoesNothingWork3 ай бұрын
Because I don't have a quiet studio just a home office and things will sound different to me on my pc speakers than they may to others volume wise
@yash11523 ай бұрын
@@WhyDoesNothingWork even with using earphones? > _"sound different to me on my pc speakers"_
@yash11523 ай бұрын
3:59 watch later
@yash11523 ай бұрын
8:41 docker doesn't need to be added in the environments.systemPackages for this to work
@yash11523 ай бұрын
4:51 _"sudo -s"_ or _"sudo --shell"_ thanks a lot for showing the Virtual Machine's interface too
It's a graphical interface to manage docker containers
@Rypervenche4 ай бұрын
I've been looking for a KZbin channel that provides easy-to-digest videos on useful topics for NixOS. Insta-subscribed to you, please keep making useful videos like this. I love it ❤
@dyncake4 ай бұрын
God's work
@kevmck394 ай бұрын
needed to add this to get the vlans to show up on my rp4: boot.kernelModules = [ "8021q" ];
@vrdnrptln4 ай бұрын
Thanks for this! Also I'm wondering if you can help with this: I'm trying to connect to my uni's wifi, but the captive portal doesn't show. Any ideas on this?
@WhyDoesNothingWork3 ай бұрын
Without knowing more about your setup and your uni's wifi I cant really offer much advice apart from make sure you dont have any hard coded DNS settings that may be superceding what you're being assigned via wifi since some captiive portals simply override dns requests to any domain and point you to the host the captive portal is on.