Thank you, awesome to See such small but nice improvements to NixOS
@simonlauer9379
2 ай бұрын
that thumbnail. will check the tool out the next time I procrastinate from developing looks great. i needs it
@deviantsemicolon618
2 ай бұрын
YES nh is goated. I don't think I'd be able to use NixOS without it
@TheMotorcycleBoy-pe2eg
Ай бұрын
Good things come in small packages - this is actually pretty awesome
@auralluring
2 ай бұрын
i was thinking of writing something like this myself, so it’s nice to know that someone else has already done it lol
@einargs
2 ай бұрын
This looks awesome! The clean part sounds really useful, and it'll be nice to replace the handful of bash scripts i have for updating my config
@sfuentesojeda
2 ай бұрын
If it weren't for you, probably most of us wouldn't have stick out with NixOS because sometimes is hard to start, but these tools you show us really, or at least for me, made us fall in love with this distribution. Always looking forward to your videos man!
@leonardoluz8642
2 ай бұрын
I am a new (and very happy) NixOS user. Your videos are really great! Thank you for your amazing work! Off to configure nh rn! Cheers!
@mawfyy7001
2 ай бұрын
Thanks, it looks a great tool for my workflow, nice video, keep it 🔥
@ClaireBlanch
2 ай бұрын
I'll try it out, seems good! Thank you!
@kenaibehling
2 ай бұрын
This is so good, thanks Vimjoyer!
@toastielad4760
2 ай бұрын
New vimjoyer video let’s gooooo
@Redyf
2 ай бұрын
that's really cool, thanks for sharing!
@Jelster64
2 ай бұрын
Looks fantastic.
@kylejamesross
2 ай бұрын
Nice I will try out this tool after work.
@arkoprovoshaw5737
2 ай бұрын
this good shit
@TheWildHustle
2 ай бұрын
Keep em coming Vim,
@HirschyKiss
2 ай бұрын
this is life changing!
@jdigi78
Ай бұрын
Instead of using ./../ you can declare a path in your flake like hostPath = (self + "/hosts") and then import with (hostPath + "/module-name.nix")
@Majiy00
2 ай бұрын
Great video as always!
@___xdesna___4345
2 ай бұрын
Thx, comfy 😊
@pedromendes3257
2 ай бұрын
amazing
@trejohnson7677
2 ай бұрын
Damn that colored output actually hard af.
@lunlunnnnn
2 ай бұрын
i can't use nh because i rely on nixos-rebuild's build-host and target-host options (which nh doesn't seem to support) for managing my server, but thanks for introducing me to nix-output-monitor! seems really neat and i added it to my nixos-rebuild wrapper script
@__viperML
2 ай бұрын
I plan to implement that at some point, but haven't had the time to do that. There's a github issue for it (not posting links because youtube kills comments with links)
@lunlunnnnn
2 ай бұрын
@@__viperML ah yeah i saw that issue earlier, would be cool if you could get that implemented :3
@phanirithvij
26 күн бұрын
I use navi for things like this, other such useful tools are pet, espanso, buku. And fzf with shell integration enabled.
@toyvo
2 ай бұрын
I was just thinking about writing some shell scripts to do this
@LuizFerK
2 ай бұрын
this is so cool
@cenunix
2 ай бұрын
I always discover a cool tool and then a week later you make a video on it 😢 I guess that’s good in a way but I wish I got more cool discovery, still enjoy watching your videos though.
@discocat2500
2 ай бұрын
nh rocks.
@wills8869
Ай бұрын
I have just peed in my pants with joy 😂😂😂
@ggorg0
2 ай бұрын
Have you seen flake-parts, or specifically the nixos-flake template from flake-parts? I've been strugginling with it for some time now, a tutorial video would help a lot! It provides some "nix run .#" targets similar to the ones showcased in the video, although definitely not as powerful. Oh, and will there be a tutorial on disko coming? I mean a tutorial on how to make a flake configuration that you can immediately install without any manual setup (aka partitioning) straight from the livecd.
@vimjoyer
2 ай бұрын
Yeah, I've seen flake parts, and definitely I'll make videos for it and disko
@0xTheDad
Ай бұрын
Привет из России, спасибо что рассказываешь о nixos
@wauwaukleff
2 ай бұрын
Perfect. This is exactly what I needed.
@tcurdt
2 ай бұрын
Awesome. A shame nh is not in stable yet.
@sr.oskar_alhos
Ай бұрын
Hello, mate. I have been using NixOS since 17/05/24 and I already have 10 generations, but I want to just keep 3. So, my question is: *What file do I have to configure to that and what do I have to write there, please?*
@vimjoyer
Ай бұрын
4:12 `nh clean all --keep 3`
@sr.oskar_alhos
Ай бұрын
@@vimjoyer Firstly: *THANK YOU!* Secondly: the command did now work. The answer is: *nh: command not found* So I tried to insert the command *nh* like you did in 0:45 *environment.systemPackages = with pkgs; [* *nh* *]* BUT an errors happened about the *nh* and I had to delete it from the file. Is there no other way, Vim?
@karthikeyanbalasubramanian7305
Ай бұрын
@0:52 after making changes to configuration.nix and running "nix flake update" and "sudo nixos-rebuild switch --flake ." im getting "error: undefined variable 'nh' "
@vimjoyer
Ай бұрын
nh is only available on the unstable branch of nixpkgs right now, so you might be using stable. If you don't want to switch to unstable, you can take this one package from unstable or nh's GitHub repo with a flake input.
@mzakyr342
2 ай бұрын
i was wondering why some people like declarative operating system, if you use nixos could you help me answer that question?
@vimjoyer
2 ай бұрын
I don't have to worry about breaking it because I can just revert any changes. This gives me the freedom to experiment, and I can always be sure that my system will work when I need it. It's also super easy to just install all my custom configs with one command, and sync them between machines.
@mgord9518
2 ай бұрын
Reproducibility is a big one. Ever install a new Arch system and then have to install all of your normal apps, configure them or install all your dotfiles, themes, etc? With Nix this doesn't have to be a thing. As you use your computer, you slowly make it to your liking, and then you can simply copy your config file to a brand new system and apply all of your modifications.
@TheMotorcycleBoy-pe2eg
16 күн бұрын
I noticed that "nh clean all" does a better job than "nix store gc --debug" . Can nh also clear root?
@AppsTricksByNazakatUmrani
14 күн бұрын
Why do we need thus nh, when we can just create a alias for the command like I have done, ns does this for me
@vimjoyer
14 күн бұрын
You can create your own alias, or you can use nh. It's simply a matter of preference. I don't want to come up with aliases, so I am using nh.
@AppsTricksByNazakatUmrani
14 күн бұрын
@@vimjoyer right, I like the toold you mentioned nud I think, I will absolutely try it sometime
@AppsTricksByNazakatUmrani
13 күн бұрын
@@vimjoyer I saw this video once again and turns out, I need to use nh 😂, because I need these progress bars and beautiful UI for rebuilds as well, I will still us my alias but now that alias will point to nh os switch command not nixos rebuild switch --flake destination/#
@spencerallen323
2 ай бұрын
"makes working with specializations quite a bit more pleasant" ok but like how exactly?
@vimjoyer
2 ай бұрын
It runs correct activation script by detecting current running specialization. Meaning you will stay on current active specialization after a rebuild without having to explicitly write it's name in the command.
@delightful-ish
2 ай бұрын
using the exact same number of words to run an update does not seem like an improvement worth learning a third party tool. Telling you what was actually changed seems like a good feature that it's kinda crazy the default tools don't do.
@vimjoyer
2 ай бұрын
Sure, but I had to mention that it got a bit shorter because it's a helper program.
@karthikeyanbalasubramanian7305
Ай бұрын
Don't the nh clean command deletes the generations from the boot menu
@vimjoyer
Ай бұрын
It does 👍.
@karthikeyanbalasubramanian7305
28 күн бұрын
@@vimjoyer I tried "nh clean all --keep 3 --dry" and its still visible in the boot menu
@kokomema
2 ай бұрын
First
@toastielad4760
2 ай бұрын
Bahaha
@berkano4617
2 ай бұрын
WOW!!! OMG!!! AMAZING!!! I'M REAL HUMAN FR FR!!! SOMEBODY HELP!!! RESCUE ME!!!
@lexalexongg7444
2 ай бұрын
thank you for your videos I love them
@starving207
2 ай бұрын
You the BEST
@MichaelSchellerwayne
Ай бұрын
AFAIK the option "programs.nh.enable" is only available on the unstable channle yet
Пікірлер: 65