From 47a0df1eab7981e28bc57007c1ed3ad903e9990b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 16 Dec 2024 14:19:34 -0500 Subject: [PATCH] just: boot cleaning --- justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justfile b/justfile index 6afb341c..dcd28aec 100644 --- a/justfile +++ b/justfile @@ -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 \ No newline at end of file