ANIX Commands
ANIX is the command-line interface that makes NixOS accessible. Every action that would normally require editing Nix expressions is wrapped into a single intuitive command.
anix switch gamingSwitch your entire system to the 'gaming' configuration profile
anix rollbackRoll back to the previous system generation
anix statusShow the current system generation and configuration state
anix list-generationsList all available system generations with dates
anix boot-to gen 5Set generation 5 as the next boot target
anix diffShow what changed between the current and last generation
anix gcGarbage collect old generations to free disk space
ANIX commands operate on your configuration.nix file. Every switch is atomic — if the build fails, your running system is untouched.
