From 36f83543ed230def5b7eff77164bda07088a0e19 Mon Sep 17 00:00:00 2001 From: Juni Kim Date: Sat, 16 Jul 2022 12:49:16 -0400 Subject: [PATCH] switch bootloader to grub --- configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index c98a226..9a6b317 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,8 +7,12 @@ ]; # Use the systemd-boot EFI boot loader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + boot.loader.grub = { + enable = true; + version = 2; + device = "/dev/vda"; + }; + networking.hostName = "nixbox"; # Define your hostname. networking.hostName = "multiuser-server-example";