simplify grub

This commit is contained in:
Kiara Grouwstra 2025-08-24 20:14:54 +02:00
parent 8304b892d7
commit 45ef1609fc
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -44,20 +44,7 @@ in
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];
## Test VMs don't have a bootloader by default. ## Test VMs don't have a bootloader by default.
# boot.loader = { boot.loader.grub.enable = false;
# # GRUB enabled: installation of GRUB on /dev/disk/by-id/virtio-root failed: No such file or directory
# grub.enable = false;
# # systemd boot enabled: '/boot' is not a mounted partition. Is the path configured correctly?
# systemd-boot.enable = true;
# efi.canTouchEfiVariables = true;
# };
# # same issue as no bootloader
# boot.loader.generic-extlinux-compatible.enable = false;
# builds but won't boot back up
boot.loader.grub.forceInstall = true;
# # builds but won't boot back up
# # to be used with --no-bootloader, which i could only find for flakes
# boot.loader.grub.enable = false;
} }
(mkIf config.enableAcme { (mkIf config.enableAcme {