𝔽𝕩𝕠𝕞𝕥 [𝕙𝕖/𝕙𝕚𝕞]@anarchist.nexus to linuxmemes@lemmy.worldEnglish · edit-212 days agosudo nixos-rebuild switchanarchist.nexusexternal-linkmessage-square5fedilinkarrow-up12arrow-down10file-text
arrow-up12arrow-down1external-linksudo nixos-rebuild switchanarchist.nexus𝔽𝕩𝕠𝕞𝕥 [𝕙𝕖/𝕙𝕚𝕞]@anarchist.nexus to linuxmemes@lemmy.worldEnglish · edit-212 days agomessage-square5fedilinkfile-text
minus-squarelemming741@lemmy.worldlinkfedilinkEnglisharrow-up0·12 days agoIs this some declarative joke I am too imperative to understand?
minus-squareeierschaukeln@kbin.earthlinkfedilinkarrow-up0·12 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
minus-squareenbiousenvy@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up0·12 days agoI never use nixos, but I just got intrusive thought to make that command get invoked automatically every time the config file is modified.
minus-squaretoynbee@lemmy.worldlinkfedilinkarrow-up1·12 days agoMy most intrusive Linux thought is to symlink vi to emacs (or vice versa).
minus-squaremsage@programming.devlinkfedilinkarrow-up1·12 days agoI will find you, and I will break your fingers.
Is this some declarative joke I am too imperative to understand?
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
I never use nixos, but I just got intrusive thought to make that command get invoked automatically every time the config file is modified.
My most intrusive Linux thought is to symlink
vi
toemacs
(or vice versa).I will find you, and I will break your fingers.