201
submitted 3 days ago by Valso@lemmy.ml to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Johanno@feddit.org 9 points 3 days ago
[-] itslilith 8 points 3 days ago

uhm, akshually it's sudo nixos-rebuild switch --upgrade

[-] Malgas@beehaw.org 3 points 3 days ago
nix flake update
nix flake check --no-build
git commit -a
nh os switch

Is the routine I've settled into. Flake update because I use flakes, flake check because it's easier to see any warnings about deprecated options and the like so I can fix them preemptively, git commit after the check to avoid back-to back commits where the second is fixing some issue with the first, and nh because I like the pretty dependency graph and progress bar.

[-] NuclearDolphin@lemmy.ml 1 points 2 days ago

Lots of useful stuff here. Taking all of it.

Does nh use fast-nix-build (or whatever the fancy nix builder CLI is called) to build your system?

[-] Malgas@beehaw.org 1 points 2 days ago

I honestly don't know how nh works under the hood, but it does seem to do concurrent builds, so it's probably something like that.

[-] SuppenMartl@beehaw.org 3 points 3 days ago

This is the way.

[-] Andrew15_5@mander.xyz 2 points 3 days ago

Actually nixos-rebuild switch --sudo.

this post was submitted on 25 Aug 2025
201 points (100.0% liked)

Memes

52129 readers
87 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS