From ef0c3fe97ba797748d77d9bee7dcaa619a60fd5d Mon Sep 17 00:00:00 2001 From: ibizaman Date: Sat, 9 Dec 2023 10:14:35 -0800 Subject: [PATCH] avoid disk space issue in /boot --- demo/homeassistant/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demo/homeassistant/configuration.nix b/demo/homeassistant/configuration.nix index a9f9a16..a63c4ac 100644 --- a/demo/homeassistant/configuration.nix +++ b/demo/homeassistant/configuration.nix @@ -18,6 +18,8 @@ in # Needed otherwise deploy will say system won't be able to boot. boot.loader.grub.device = "/dev/vdb"; + # Needed to avoid getting into not available disk space in /boot. + boot.loader.grub.configurationLimit = 1; # The NixOS /nix/.rw-store mountpoint is backed by tmpfs which uses memory. We need to increase # the available disk space to install home-assistant. virtualisation.vmVariantWithBootLoader.virtualisation.memorySize = 8192;