just: boot cleaning

This commit is contained in:
Sridhar Ratnakumar 2024-12-16 14:19:34 -05:00
parent ee014c963a
commit 47a0df1eab

View file

@ -24,3 +24,8 @@ gate:
# Format the nix source tree
fmt:
pre-commit run --all-files
# https://discourse.nixos.org/t/why-doesnt-nix-collect-garbage-remove-old-generations-from-efi-menu/17592/4
fuckboot:
sudo nix-collect-garbage -d
sudo /run/current-system/bin/switch-to-configuration boot