GNU GRUB

From NixOS Wiki
Revision as of 22:01, 6 December 2017 by imported>Samueldr (Inits with answer to a frequently asked question)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

FAQ

How do I remove older generations from the bootloader?

First, collect garbages in your system, then rebuild. The scripts will collect leftover files.

The first command, in the example below, removes everything older than 14 days.

 $ sudo nix-collect-garbage --delete-older-than 14d 
 $ sudo nixos-rebuild boot