nix: replace systemd-boot with grub

This commit is contained in:
Nico 2025-05-03 16:15:57 +10:00
parent a0108de7fc
commit f453b9b0e2
2 changed files with 24 additions and 2 deletions

View file

@ -9,8 +9,10 @@
# Nix Configuration
nixpkgs.config.allowUnfree = true;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
# Use the grub EFI boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.efiSupport = true;
boot.loader.efi.canTouchEfiVariables = true;
# Networking