"Unlock the Power of NixOS: The Ultimate Step-by-Step Guide to Effortless Installation!"

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what's going on everybody happy Sunday I hope you guys have had a great weekend so far mine has actually been going very well plus you know thanks to Memorial Day I get Monday off too and we all know how much I like to go to work on Mondays so this is a good weekend for me let's go and get into today's video um today we are going to go over something that I've been wanting to do for a while now just because it is so popular right now um I wanted to check it out but I kind of started off light and checked out uh part of it but not all of it um so today we're going to dig in a little deeper and what is that well if you recall the last my two videos I've done they've been on the Nyx package management system which is pretty darn cool um I've just kind of covered how to install it on Boyd and how to run updates on it and kind of add stuff to your configuration file to be able to use like on free and all that so I didn't get real deep into that either but and we're not going to get real deep into today's topic either but today we are going to install NYX OS and I'm going to see if I can't get a graphical environment up and running I'm not going to get real deep into it I'm probably just going to install a few programs and just see what we can do based on what I have gone around and looked at I might be doing this the wrong way I might be doing this the right way I don't know we're just going to see what happens soon at the end of this video if you're watching and you got any tips for me with this um by all means uh shoot me a message in the comments shoot me an email let me know and just a heads up I am going to be doing this with the calamars installer I do want to do a base install from the command line uh here eventually but for right now I just want to check NYX out so we're going to kind of go the easy route but I am not going to install it with a desktop so we're gonna we're gonna do all that from uh from scratch so let's go and get started shall we I'm going to go ahead and hit my mod shift V and that's going to launch my virtual machine Creator and we're going to hit enter to add a virtual machine we are going to do NYX OS we'll give it six CPUs we're going to do 81.92 for memory name of iso is going to be NYX OS dot ISO I think that's what I called it let's see here CD desktop ISO and then do an LS and it's nyxos.iso correct so okay that needs to be capitalized nyxos.iso and we're going to hit enter this size we're just gonna do 35 like I normally do uh Linux 2020 is what I usually use I should probably update that but that's just kind of what I remember so that's what I use and then we're going to do a UEFI install so we're going to go ahead and hit enter and we're going to go ahead and get this virtual machine started up now again I did uh say I'm doing the non-command line version again I would like to get into doing the command line version and check it out but I don't think I'm quite there yet um I have done a little bit of reading and I've learned a few little things so we're just going to kind of see if this works out for me or not and we'll take it from there so who knows this whole video might be a failure and you guys might see what a horrible horrible computer guy I am and go man we're never watching this guy's Channel again but uh things might work out for me and you guys might think hey yay for Jake we're gonna continue watching his channel because we like him so much and by the way I want to give a shout out uh actually a special thank you to the couple people who have actually already signed up for memberships I do greatly appreciate it again I'm not um I'm not pushing memberships but I do want to say thank you to those of you who did do it and signed up it is greatly appreciated um I I I do this for free and I don't mind doing it for free but you know it does help to have a little bit of support and uh people who show that they appreciate you in any way not not just by donating money but also you know with comments and shares and likes and subscription and and prayers and everything else that you guys do to support my channel it's it's great so let's go ahead and get this going so this is going to take a second I think because it is doing something weird but we're just going to give it a second here to sit and see if it actually fires up there we go uh now we have good gnome uh yuck I cannot stand ganome but uh that's a it's a video for a different day I guess if I ever do a desktop environments I can't stand um no offense to you gnome users if it works for you that's great for me it is just not something I am interested in the slightest the workflow is just horrible for me so I digress let's go ahead and get along with the installation shall we so American English that is correct so we're going to go ahead and say next um I am in that time zone I'm not in Chicago but that's where I am so we're going to hit next I do want a default US keyboard uh users my full name is Jake you know that is that that's all I need my password is going to be I don't need to require a strong password for my VM so we're just gonna do a super secret uncrackable four digit four-letter password uh we're gonna use the same password for our root and we're gonna go ahead and hit next now for desktop again I said we're not going to do a desktop so we're going to click on no and we're going to hit next uh Nix OS is fully open source sure why not allow unfree software I don't know why I'm gonna need it but that's that now here's where it gets a little tricky I've read all kinds of different partitioning schemes for NYX OS and that's something that I don't really want to mess around with I'm too much but I guess we will do a manual partition and I'll partition it the way I normally partition my stuff I could just do erase the whole disk and go from there and it'll put everything on one partition um but um I think we're gonna go ahead and do you know what actually no we'll just do erase to hold this we're gonna do no Swap and we're going to hit next um I could break it up but um I guess I don't really see the need to in a virtual machine because you know it's a virtual machine um so we've got everything checked out and we're going to go ahead and hit install so this is going to take a few minutes to go ahead and do this so what I'm going to do is I'm going to pause the video and I will come back to it when it is all done installing and I will see you soon okay we are all done with the installation so what we're going to do is we're going to go ahead and click on the restart now and we're going to select done and this should go ahead and log out close my virtual machine and then log open it back up and log me back in or boot me back up I guess and from there let's go ahead and see what happens so we are going to go ahead and boot into Nyx OS um this is just going to give us a command line if everything went well and we should be able to go from there so here we have NYX OS login so what we need to do now is I create or enter my username and go ahead and enter the password that I gave it and we are in NYX OS so you can see now we have a working bootable system uh let's go ahead and ping see if we have Internet um maybe I don't know I guess we'll find out here in a minute but what we need to do is from everything I've read we need to go check out our configuration file for our NYX operating system now this is where the system is kind of weird to me and I understand the concept behind it and why they do it it makes everything reproducible which is really cool so hopefully I get this right but what we need to do is we need to go over to our Etc so let's cdn2 Etc slash NYX OS I think is where it was and there should be a file called configuration.nix so let's do an LS and there you go we have a configuration.nix so what we're going to do now is we are going to sudo Dash e configuration.nix and hit enter and we're going to enter our password and here we are we have our configuration.nix um configuration file here and this will basically this is basically what we're going to use to kind of get going on our system so let's go ahead and check out a few things here you can see up here we've got I can't scroll but we have right here we have config comma packages and then we have Imports uh dot slash Hardware configuration.nix then we have our bootloader information and we have networking information so enable networkingnetworking.networkmanager.enable equals true we have our time zone set which is American Chicago is that's where I set my time zone we have our English us utf-8 and then we have our key map is a US key map and then right here divine define a user account don't forget to set a password with password but we have our user.users.jake and then in that we have is normal user true description is the username Jake and then extra groups we have part of the network manager group and part of wheel group packages equals with packages and then we have NYX packages or Nix pkgs.config dot allow unfree equals true so that was that selection where we wanted to allow unfree software then we have environment dot system packages with pkgs and System state version 22.11 so I've got a few things in here commented out I'm not going to go over everything here we got some looks like SSH support and all that um but yeah so that's kind of what you get out of the box with this calamaris install on NYX OS but let's go ahead and make a few changes to this so that way we can have a graphical environment now I want to say that um to do this is really simple from what I was reading so let's just see if that's actually the case and we're going to go ahead and try to get a graphical system set up and actually get a window manager installed and maybe a couple programs installed and just see how this works for us so let's actually come down here and I'm not sure if there's any in particular place I need to put this um but let's go ahead and put it I don't know um so Services X server let's put it around here I guess and just oops I mean Nano this doesn't start you with Van that starts you with Nano uh which the Linux cast might like that since he's uh living in Nano right now on that I don't feel for you it's your choice but you know Nano's actually not bad it's uh it's actually a pretty decent um text editor once you get it all configured which I think you'll learn real quick Matt so let's go ahead and take a look at a few things here and actually start some services so I believe if I want to start X server I need to do a services um dot X server dot enable not enable enable if I could see Services dot X service x server.enable equals true um I think that's it um and then I think if I want to start a graphical environment on top of that I think what I need to do and you know again if I if this doesn't work for me correct me in the comments please but I think what I got to do is a Services dot X server Dot uh is it Window Manager no it's capital M um I think is it I think let's try it capital uh window manager and let's just do I'm gonna do one that I don't mess around with too much on screen so let's just do I3 so let's do i3 um I think we yeah Services X server Window Manager I3 dot enable um yeah equals true and then we put that there so that should actually start my X session or give me a graphical session that I can then log in to um I3 with um I think so let's go and give that a shot so we're going to do a control o which is going to write and we want to hit yes to write that and then we're going to do a control X to X is out of there and then what you want to do is you want to do a sudo NYX OS rebuild and then switch I think was the command so uh sudo NYX OS Dash rebuild switch and hit enter and we're going to ask for our passwords we're going to go ahead and enter that and then we're going to go ahead and rebuild this configuration file it's basically going to rebuild recompile my system I think if I'm using the correct terminology so as yeah it's building the system configuration building NYX and so it's going to go through and as it builds it's just going to implement this stuff there's not any oh I mean you can install stuff but you can actually just come to this configuration file from what I'm gathering and just add add programs in there and it will install them as it builds your system um so what this should do then is give us an X session or a it should fire up the X server and then allow us to log into a graphical environment um there it doesn't use the X in it it doesn't use startx or anything like that from what I can recall I think we just do this recompile and then when we log out and log back in or reboot the system it will actually take me to a graphical environment so let's just go ahead and give that a shot so we're going to do a sudo and we're going to do reboot hit enter and we're gonna see what happens it should give me a graphical okay so see now we have the first one we have this was when we logged in the first time it was our first generation build now we have generation two so this is the second build we've done we're going to go ahead and hit enter and fingers crossed let's see what happens did I do this correctly or did I waste time oh what happens am I gonna hit enter and have an I3 Window Manager let's go ahead and see what happens enter I have i3 look at that so if we hit enter then it's going to generate the config we want to go ahead and do that we want the ALT key because I'm not a Super Key user and then we're going to hit enter and there we go so I should be able to hit mod enter and that should launch my terminal but I don't like that terminal but I mean that's I guess the one I'm going to have to use right now I'm sorry for the bright uh bright color actually I wonder if we can do this let's just go back into our TTY let's go ahead into F4 and let's log in here and install a couple programs so let's go ahead and CD back to slash Etc NYX OS and hit enter and let's uh sudo Dash e and configuration.nix and hit enter and enter our super secret High-Tech high secure password and now again just like starting up the server I believe all we have to do is we can add programs that we want installed in our system now this is one of nix's big selling points is the fact that you can have reproducible systems because you just build this config and then just take this configuration to whatever system you're using I get I guess that's that's what the the whole selling point is on this and it's actually a pretty cool idea um so if this works you know this might be something I'm going to be digging into a little more you know I love my void Linux setup and I don't have any plans on leaving void Linux but um I might just install this just to dabble around with it you know just to kind of live live life like the other half live for a while and see what uh see what all the fuss is about but let's go ahead and check out some packages and see if we can install some packages so I think what we can do is um right here where it says environment system packages equals with pkgs excuse me I think what we can do is come over here and we can hit enter and let's go ahead and add a few programs what do we want to add first of all first let's add alacrity let's get a good terminal in there that has a dark background and doesn't launch with that ugly hideous bright white blinding background so let's do alacrity um and I don't think that's the way you do it I think we do uh we gotta do p next package no I think we just do pkgs.alacrity [Music] um I think that's all we did and then let's go ahead and add uh let's add a web browser so let's go ahead and add Firefox let's do bkgs.firefox [Music] um and let's do van because I you know I don't want to use Excuse me nano so let's do pkgs.vem uh and that should be good for the moment actually you know what uh let's do the one thing that everybody installs first on their machine so let's do pkgs.neo fetch because you know what that's uh that's what US Linux guys do I guess so let's install those four packages so when I go through and I run this rebuild again what it should do is it should rebuild my Nix system and rebuild the configuration and then when we log in you saw we have the generation one and the generation two selections so you can log into those this should give us a generation three selection that has these programs installed so let's go ahead and do a control o to write and we're going to do a control X to exit we are going to do the sudo NYX OS Dash rebuild switch and hit enter and we're going to go ahead and let that rebuild again and this is going to take a second so we'll go ahead and let that rebuild and if this works I mean I think I might really check this out I might either re-partition my drive again and have Ardex void windows and Nyx OS on it or I might just kind of wipe the Ardex portion for a while and install NYX OS and play around with it for a bit because if this works this is really cool and I can see why it's so popular um now there were some things I have installed NYX OS before briefly on my system using the calamari's installer but I installed it with a desktop just because I wanted to get it installed and running quick so I could see what was going on and see what it was like and I did notice that the package manager was extremely slow even more so than installing it on my void system and you know it's a little sluggish on the void system but it was really slow on Cinnamon when I installed it and I'm sure there's ways to improve that and um optimize the way it's running but I haven't figured them out yet so hopefully that's changeable because that would be a real killer for me I like my system to be fast and quick and just you know do things speedily and it just didn't seem to do it but let's go ahead and do a sudo reboot and hit enter and let's go ahead and check this out again and like I said we should have three options now and we do we have generation three generation two generation one that was our first install the second one was when we installed our X server and I3 window manager and our third install is when we installed alacrity Firefox vim and neofetch so I should have those four programs on my system now with no issues so let's go ahead and log in there and see what happens so if this actually works this is actually pretty cool so let's go ahead and give it our super secret password and hit enter now I should be able to do a mod um D I believe in I3 to launch D menu so mod D yeah okay and I should be able to I can see right there I have alacrity on my system so let's go ahead and run that and there it is now let's see if I have neofetch and I do I have neofetch and let's see if I have Vim I've got Vim so let's quit out of there and let's quit out of that and let's do a mod D again and look for fire and I have Firefox that's pretty flipping cool uh I got I got no other words that's that's just pretty cool the way that works um I'm really gonna have to start playing around with this and checking this out um unfortunately I am about out of time for today's video but um man stick with me we're gonna dig into Nick's OS a little bit I think and we're gonna check some stuff out um over the next few weeks and I think we might get a Nick's OS uh system up and working and see what we think of it so that being said if uh you guys enjoyed this video great I appreciate it um again thank you to those of you who have become members um again if you're not interested in becoming a member and having a monthly you know a monthly uh amount taken out um I don't expect people to pay for anything prayers are the biggest thing I can ask for from you guys um but if you if you feel like supporting me any other way I do have my YouTube memberships and I do have buy me a coffee buy me a coffee you can obviously do monthly memberships or you can do um just this one time a one-time deal and either way or neither it is greatly appreciated um so yeah love you guys all you guys have a great rest your week and hey I might see you tomorrow because I'm going to play around with this a little bit more and I might have some more to show you tomorrow not positive but I might so hey you guys have a great rest of your weekend stay safe God bless
Info
Channel: Jake@Linux
Views: 30,402
Rating: undefined out of 5
Keywords: Linux, Command Line, Terminal, Vim, Bash, Zsh, shell, Shell scripting, new to linux, DIstro, window manager, bash script, distro reviews, linux, bash scripting, customize linux system, window managers, linux window managers, NixOS, NixOS installation, easy nix installl, how to install nixos
Id: rc2bt3WMw8s
Channel Id: undefined
Length: 21min 16sec (1276 seconds)
Published: Sun May 28 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.