𝔽𝕩𝕠𝕞𝕥 [𝕙𝕖/𝕙𝕚𝕞]@anarchist.nexus to linuxmemes@lemmy.worldEnglish · edit-217 days agosudo nixos-rebuild switchanarchist.nexusexternal-linkmessage-square7linkfedilinkarrow-up1150arrow-down17file-text
arrow-up1143arrow-down1external-linksudo nixos-rebuild switchanarchist.nexus𝔽𝕩𝕠𝕞𝕥 [𝕙𝕖/𝕙𝕚𝕞]@anarchist.nexus to linuxmemes@lemmy.worldEnglish · edit-217 days agomessage-square7linkfedilinkfile-text
minus-squareeierschaukeln@kbin.earthlinkfedilinkarrow-up16arrow-down1·17 days agoInfo: 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
Info:
nixos-rebuild switch
= build the new system configuration (from/etc/nixos/configuration.nix
or flakes) and activate it immediately without reboot./nix/store
.nixos-rebuild switch --rollback
).So: “switch” means build + activate now