nix collect-garbage, comrade! there’s also another command to clean up older generations. if you’re using git to version your nix config, you only really need to keep two generations: the current, and your last successful boot, since you can recover by git checkout.
nix collect-garbage
, comrade! there’s also another command to clean up older generations. if you’re using git to version your nix config, you only really need to keep two generations: the current, and your last successful boot, since you can recover by git checkout.