about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-07-23 17:51:45 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-07-23 17:51:45 +0200
commit3b1d395768579f0a3167a7a1563cd8d68dbb4b1c (patch)
tree2813d860a8ad814d5ad23d1b2ccdc6adc2ab3532 /machines
parent3f0a9e8002802e5a772b7582f8254c92d7a2a4d5 (diff)
machines/brawndo: Switch to systemd-boot
I've copied the notsure config, which wasn't an EFI system, so let's
actually use systemd-boot here, shall we? ;-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines')
-rw-r--r--machines/aszlig/managed/brawndo.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/machines/aszlig/managed/brawndo.nix b/machines/aszlig/managed/brawndo.nix
index dfff4441..40c7f08a 100644
--- a/machines/aszlig/managed/brawndo.nix
+++ b/machines/aszlig/managed/brawndo.nix
@@ -13,9 +13,8 @@ in {
     kernelModules = [ "kvm-intel" "wl" ];
     kernelPackages = pkgs.linuxPackages_latest;
     extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
-    loader.grub.enable = true;
-    loader.grub.version = 2;
-    loader.grub.device = "/dev/disk/by-id/${mainDisk}";
+    loader.systemd-boot.enable = true;
+    loader.efi.canTouchEfiVariables = true;
   };
 
   fileSystems."/" = {