@@Gabifuertes oh, here I just wanted to demonstrate that the comments are here, I didn't mean that you should read them during the video. Still, next time I'll add scrolling text, thanks!
MOAR MOAR MOAR Please sir, just do the needful and provide more content to help me learn to leverage nixOS for my dev envs and daily driving. Some feedback, perhaps, is that you probably could spend 10% of the time editing your videos, and I would still watch every minute. There's just so little useful recent content providing walkthroughs a dummy like myself can follow productively. Thank you, God bless.
you show an example configuration for gtk. As a someone totally new to nix i copy pasted it to try it out but it doesnt work for me i assume one problem is the missing semicolon at the end of the gtk block. But after adding it home-manager still wont start.
You are the GOAT, Vimjoyer. You have smoothened my NixOS onboarding in such a radical manner you can't imagine. I appreciate your work a lot! Keep it up!
Thanks for all this NixOS videos, just switched to it and your videos are realllllly helpful since there is basically no good tutorials, even written ones
Thanks for the quick overview! Since your last video I started using nixos daily and it is absolutely fantastic, I'm already fully converted :) even made a PR to nixpkgs with one of my projects
I also find it helpful to put some program configurations in their own file, so I have /modules/home-manager/program-name.nix. This way, I can manage which users and hosts have which modules.
Your videos are being so helpful! Maybe in the future you can cover Neovim? My current neovim config requires packer, npm and a few extra packages in order to install the plugins and LSPs. I'm new to NixOS so I'm still trying to find a proper way to *declare* the config I need. Maybe in configuration.nix, maybe I should now learn home-manager? Hope vimjoyer pops off soon 💥 Btw loved your Hyprland video, also that's what I'm trying to set up as it was quite a headache on Arch (also with Nvidia gpu). Kinda weird tho some NixOS stuff with Wayland, namely waybar and waylock are behaving weird. If you have time maybe you could also dive into your config and some connoisseur tweaks 🚀
I'm planning to do some neovim videos in the future, maybe even some Nix + neovim ones. Home-manager is great and quite simple, I have a video about it. Thanks!
I'm sorry, but I really enjoy yr videos. But! You need to address the 'Novice' in the room! Maybe include Line Numbers in yr videos, so we know where the configuration is placed in the configuration.nix file. Or maybe just do a Series just for Novices. Keep up the good work. I'm using Nixos on Win11 WSL2 machine & old Mackbook AIr 2019. WOW WOW. Carlo
Great video, quick question tho: I‘m running on macOS and I saw another video (for macOS) where a guy was declaring everything you are declaring in home-manager in his flake.nix via something along the lines of darwinConfiguration. I‘m wondering now which approach makes more sense, since it does seem to make sense to use this darwin stuff for macOS as it seems to be better suited for macOS but at the same time I also watched your video for nvim+home-manager and set up my nvim configuration the same way and I would have no clue how to achieve that if I stick to flakes and use darwinConfiguration instead. Is one approach better than the other one, can one do more than the other one? Or would it maybe even make sense to use a mix of both (or maybe not because maybe with home-manager I can do the same stuff)?
Awesome video! Thank you for your time in making these videos. They are very helpful! You don't mind sharing your configuration files for the flakes and home-manager? Thank You in advance!
Awesome job, I'm a NixOS noob and learning a lot from your videos. Question though, I'm using the stable channel on my system and I accidentally added the unstable channel in my flake. So when I used the flake to build it seems like it moved me to the unstable channel. Does the flake channel override the channel defined in nix-channel? And if so does that mean it auto updates when running the flake?
Your channel is still there, and Flake does not touch it. Flake has it's own set of dependencies, and they are updated only when you run `nix flake update`.
@@vimjoyer gotcha, yea I see that. But I guess I just want to clarify that when I am using my flake to build my config it's ignoring what is set in nix-channel and using the channel in the flake config. Do I have that right? It's been a bit of a transition distinguishing what all of these all of these systems are using and how they're tied together. I love it though. :D
@@vimjoyer i tend to be a hands on learner (in tech that can be difficult to deal with) but being able to roll something out then manipulate it from a "final" point has always made learning how the whole thing interacts, a more pleasant experience to me.
I was trying to follow this but I got lost. When doing `sudo nixos-rebuid switch --flake ~/path/to/flake`, what flake are we talking about? The one we previously created in Projects? All the files look just like in the guide, but I am getting "error: function 'outputs' called with unexpected argument: 'home-manager'"
"outputs called with unexpected argument home-manager error" is caused by outputs function not accepting your home-manager input. Make sure to add both `...` and `@inputs` to your flake's output parameter.
@@vimjoyer Thanks for the quick reply. I'm making a mess between the flakes in .config/home-manager and the Projects directory. I'll try to get back later to this and start over from scratch.
Hello could you make a tutorial video or playlist with nixos fresh installation + flake + home-manager config, please ? This would be great ! Thanks for your videos
at 2:26, is that file the one inside /path-of-the-flake/nixos? I don't understand, when i import ./home.nix it throws an error cause indeed there's no such file inside of the flake/nixos folder
Are you using git? stage all files before rebuilding, flakes don't see unstaged files. If you are not using git, make sure the path is correct. It should be relative with . meaning current opened file, so if your home.nix is in a subdirectory, write ./subdirectory/home.nix
@@vimjoyerwhere in the video does it cover this home.nix file? Been going back forth across whole playlist, but getting really confused. The only home.nix file was in .config/home-manager as far as I can tell, but assume I missed something??
Following your channel , I've recently started using nixOS on wsl. I love the fact that everything is declerative, but I'm having big issues when installing new things. For example I can't get numpy working cause of some lib.so.6 thing which I couldn't solve for the life of me...
It happens sometimes, python is generally not the best experience on NixOS. What I've been doing is: if python package is available in nixpkgs - I add it to a shell, otherwise install with venv.
I don't fully understand how importing ./home.nix in configuration.nix works, because I tried to repeat everything after you, but getting error during build that home.nix is not found. Great vid btw
@@ocimandiaspepe5137 matrix is great, and I've tried it a couple of times, but I still find it quite unintuitive. I think discord is decent, so let's try that for now. I'll probably announce it in the next vid.
These videos take a ton of time to make, but you guys deserve the best. If you'd like me to improve something just say it.
I find some of the text to be quite tiny on mobile, like 2:57. Keep it up!
@@Gabifuertes oh, here I just wanted to demonstrate that the comments are here, I didn't mean that you should read them during the video. Still, next time I'll add scrolling text, thanks!
Once again, thank you!
MOAR MOAR MOAR
Please sir, just do the needful and provide more content to help me learn to leverage nixOS for my dev envs and daily driving. Some feedback, perhaps, is that you probably could spend 10% of the time editing your videos, and I would still watch every minute. There's just so little useful recent content providing walkthroughs a dummy like myself can follow productively. Thank you, God bless.
you show an example configuration for gtk.
As a someone totally new to nix i copy pasted it to try it out but it doesnt work for me
i assume one problem is the missing semicolon at the end of the gtk block. But after adding it home-manager still wont start.
You are the GOAT, Vimjoyer. You have smoothened my NixOS onboarding in such a radical manner you can't imagine.
I appreciate your work a lot! Keep it up!
You sir are a scholar and gentleman. Thank you for the great videos and clear explanations
This operating system has changed everything for me. Thanks for the wonderful introduction
Your videos seem to be coming out right as I need them. Thank you sir!
you are making my perfect nixos journey, thank you
Thanks for all this NixOS videos, just switched to it and your videos are realllllly helpful since there is basically no good tutorials, even written ones
Thanks for the quick overview! Since your last video I started using nixos daily and it is absolutely fantastic, I'm already fully converted :) even made a PR to nixpkgs with one of my projects
been thinking of switching and finding this channel is a god send, ty for laying out everything I need, you're a real one
Thank you so much for your vids bro! They have been a great help. Super compact and exactly with the stuff i was looking for.
Thank you very much for covering home-manager.
Great video, will be giving it a go over the next few days I expect
Thank you very much, tonight I am building my nix configuration file and tomorrow I'll switch to it!
I also find it helpful to put some program configurations in their own file, so I have /modules/home-manager/program-name.nix. This way, I can manage which users and hosts have which modules.
Thanks for the video. Another banger
Your videos are being so helpful! Maybe in the future you can cover Neovim?
My current neovim config requires packer, npm and a few extra packages in order to install the plugins and LSPs.
I'm new to NixOS so I'm still trying to find a proper way to *declare* the config I need. Maybe in configuration.nix, maybe I should now learn home-manager?
Hope vimjoyer pops off soon 💥
Btw loved your Hyprland video, also that's what I'm trying to set up as it was quite a headache on Arch (also with Nvidia gpu). Kinda weird tho some NixOS stuff with Wayland, namely waybar and waylock are behaving weird. If you have time maybe you could also dive into your config and some connoisseur tweaks 🚀
I'm planning to do some neovim videos in the future, maybe even some Nix + neovim ones. Home-manager is great and quite simple, I have a video about it. Thanks!
Many Thanks!
I found something good, for explain nix OS....
Keep it up ..
I'm sorry, but I really enjoy yr videos. But! You need to address the 'Novice' in the room! Maybe include Line Numbers in yr videos, so we know where the configuration is placed in the configuration.nix file. Or maybe just do a Series just for Novices. Keep up the good work. I'm using Nixos on Win11 WSL2 machine & old Mackbook AIr 2019. WOW WOW. Carlo
Will you be making a video on the flake variation of home-manager? Cheers
Great video, quick question tho:
I‘m running on macOS and I saw another video (for macOS) where a guy was declaring everything you are declaring in home-manager in his flake.nix via something along the lines of darwinConfiguration. I‘m wondering now which approach makes more sense, since it does seem to make sense to use this darwin stuff for macOS as it seems to be better suited for macOS but at the same time I also watched your video for nvim+home-manager and set up my nvim configuration the same way and I would have no clue how to achieve that if I stick to flakes and use darwinConfiguration instead. Is one approach better than the other one, can one do more than the other one? Or would it maybe even make sense to use a mix of both (or maybe not because maybe with home-manager I can do the same stuff)?
I haven't tried nix-darwin, so I can't tell you which one is better suited for your use case. Try both and see which one you prefer.
Awesome video! Thank you for your time in making these videos. They are very helpful! You don't mind sharing your configuration files for the flakes and home-manager? Thank You in advance!
I'll probably share my configs later, right now they are a mess.
@@vimjoyer No worries! Probably, it looks like mine! HaHa... Thank you for your quick reply!
Thanks u !
Awesome job, I'm a NixOS noob and learning a lot from your videos. Question though, I'm using the stable channel on my system and I accidentally added the unstable channel in my flake. So when I used the flake to build it seems like it moved me to the unstable channel. Does the flake channel override the channel defined in nix-channel? And if so does that mean it auto updates when running the flake?
Your channel is still there, and Flake does not touch it. Flake has it's own set of dependencies, and they are updated only when you run `nix flake update`.
@@vimjoyer gotcha, yea I see that. But I guess I just want to clarify that when I am using my flake to build my config it's ignoring what is set in nix-channel and using the channel in the flake config. Do I have that right?
It's been a bit of a transition distinguishing what all of these all of these systems are using and how they're tied together. I love it though. :D
@@kenrtx yes, it is using flake's nixpkgs if you call this function from flake.
would you be willing to do a video on deploying your config to a new machine?
your videos are awesome and have helped so much!
Probably, that is a good idea
@@vimjoyer i tend to be a hands on learner (in tech that can be difficult to deal with) but being able to roll something out then manipulate it from a "final" point has always made learning how the whole thing interacts, a more pleasant experience to me.
gigachad youtuber 😎
I was trying to follow this but I got lost. When doing `sudo nixos-rebuid switch --flake ~/path/to/flake`, what flake are we talking about? The one we previously created in Projects? All the files look just like in the guide, but I am getting "error: function 'outputs' called with unexpected argument: 'home-manager'"
"outputs called with unexpected argument home-manager error" is caused by outputs function not accepting your home-manager input. Make sure to add both `...` and `@inputs` to your flake's output parameter.
@@vimjoyer Thanks for the quick reply. I'm making a mess between the flakes in .config/home-manager and the Projects directory. I'll try to get back later to this and start over from scratch.
Hello could you make a tutorial video or playlist with nixos fresh installation + flake + home-manager config, please ? This would be great ! Thanks for your videos
I already have a fresh installation tutorial (pretty bad one, but popular), and 2 flake videos.
Thanks, I like NixOS for system configuration but for me home-manager is too much, another weak abstraction to maintain
at 2:26, is that file the one inside /path-of-the-flake/nixos? I don't understand, when i import ./home.nix it throws an error cause indeed there's no such file inside of the flake/nixos folder
Are you using git? stage all files before rebuilding, flakes don't see unstaged files.
If you are not using git, make sure the path is correct. It should be relative with . meaning current opened file, so if your home.nix is in a subdirectory, write ./subdirectory/home.nix
@@vimjoyerwhere in the video does it cover this home.nix file? Been going back forth across whole playlist, but getting really confused. The only home.nix file was in .config/home-manager as far as I can tell, but assume I missed something??
721 subscribers? more like: over 9000!!
In less than a year!
I'm confused at 2:34. What file is it?!?
Module is imported in the imports array, and everything under it is the module itself. could not put an arrow there, because everything is the module.
@@vimjoyerI am stuck at exact same point. It says "path/to/flake" but which flake??
Do you also do binkovs battlegrounds?
No
Following your channel , I've recently started using nixOS on wsl. I love the fact that everything is declerative, but I'm having big issues when installing new things. For example I can't get numpy working cause of some lib.so.6 thing which I couldn't solve for the life of me...
It happens sometimes, python is generally not the best experience on NixOS. What I've been doing is: if python package is available in nixpkgs - I add it to a shell, otherwise install with venv.
Excellent video. Font and color scheme, pls?
JetBrainsMono and gruvbox
I don't fully understand how importing ./home.nix in configuration.nix works, because I tried to repeat everything after you, but getting error during build that home.nix is not found. Great vid btw
home.nix file has to be in the same directory, and you need to have home-manager in your flake inputs
@@vimjoyer I fixed this problem by adding home.nix to my flake git repo. Maybe you mentioned it in the video, but I missed it.
@@kirashufflerful I mentioned it in the flakes video. Anyway, good job!
Could you make a discord server ?
Hmm, do you think there will be enough people?
@@vimjoyer Enough yeah, no need to have tons anyway
I'd recommend using a matrix instead, but whatever suits @vimjoyer
@@ocimandiaspepe5137 matrix is great, and I've tried it a couple of times, but I still find it quite unintuitive. I think discord is decent, so let's try that for now. I'll probably announce it in the next vid.
damn u sounds like this dude www.youtube.com/@Binkov
Not helpful to someone who does not want to use flakes
But helpful to someone who does