Skip to content

fix(205-builder): limit GRUB boot generations to prevent /boot filling - #47

Draft
phonkd wants to merge 1 commit into
mainfrom
autofix/diskwillfill24h-205-builder
Draft

fix(205-builder): limit GRUB boot generations to prevent /boot filling#47
phonkd wants to merge 1 commit into
mainfrom
autofix/diskwillfill24h-205-builder

Conversation

@phonkd

@phonkd phonkd commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Alert

DiskWillFillIn24h — /boot on 205-builder will fill in 24h.

Root Cause

No boot.loader.grub.configurationLimit was set, so every nixos generation installs its kernel/initrd to /boot without cleanup.

Fix

Added boot.loader.grub.configurationLimit = 10 to limit stored generations.

Verification

  • nix-instantiate --parse validates syntax
  • Follows precedent from other hosts in the repo (201-mono.nix, hetzner-vm.nix use systemd-boot's equivalent)
  • After deploy and garbage-collect, excess /boot entries are cleaned on next boot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants