From 0c5cf9c0494c715de9a86870f3a5d8597139c2b3 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 2 Mar 2024 13:56:46 -0500 Subject: [PATCH] Update petalburg to systemd-boot --- hosts/petalburg/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/petalburg/default.nix b/hosts/petalburg/default.nix index 2fdbfc40..1ccf7430 100644 --- a/hosts/petalburg/default.nix +++ b/hosts/petalburg/default.nix @@ -10,10 +10,10 @@ ./hardware-configuration.nix ]; + # Bootloader. - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; - boot.loader.grub.useOSProber = false; + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "petalburg"; # Define your hostname. @@ -24,4 +24,4 @@ # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "23.11"; # Did you read the comment? -} \ No newline at end of file +}