mirror of
https://github.com/srid/nixos-config.git
synced 2026-03-20 14:56:06 +08:00
just: boot cleaning
This commit is contained in:
parent
ee014c963a
commit
47a0df1eab
1 changed files with 5 additions and 0 deletions
5
justfile
5
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue