Skip to content

Commit 3d26882

Browse files
btlogyhacklschorsch
andcommitted
Back port upcomming change from #24 fixing #17
Co-authored-by: Florian Sesser <florian@leastauthority.com> Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
1 parent 6a55bbf commit 3d26882

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nix/common/default.nix

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
settings.PasswordAuthentication = false;
3636
};
3737

38+
# NixOS likes to fill up boot partitions with (by default) 100 old kernels.
39+
# Keep a (for us) more reasonable number around.
40+
boot.loader.grub.configurationLimit = 3;
41+
3842
environment.systemPackages = with pkgs; [
3943
# FIXME: ssh-to-gpg is broken since 1.1.3 in NixOS 24.11
4044
# https://github.com/Mic92/ssh-to-pgp/issues/73

0 commit comments

Comments
 (0)