eierschaukeln

joined 3 months ago
[โ€“] eierschaukeln@kbin.earth 27 points 18 hours ago (2 children)
[โ€“] eierschaukeln@kbin.earth 14 points 1 week ago (21 children)

Info:

nixos-rebuild switch = build the new system configuration (from /etc/nixos/configuration.nix or flakes) and activate it immediately without reboot.

  • It builds the new system in /nix/store.
  • Updates the GRUB/systemd-boot entries.
  • Switches to the new configuration right away (systemd units, services, kernel params if possible, etc.).
  • Leaves the old generations available for rollback (nixos-rebuild switch --rollback).

So: "switch" means build + activate now