From 9b118b0e7c4cbcc8dce4a4f56e3dd7e9e911fe9b Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Mon, 25 Dec 2023 22:59:17 -0500 Subject: [PATCH] Switch to systemd-boot Signed-off-by: ahuston-0 --- modules/boot.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/modules/boot.nix b/modules/boot.nix index 5e301f2..513016a 100644 --- a/modules/boot.nix +++ b/modules/boot.nix @@ -60,15 +60,18 @@ in canTouchEfiVariables = false; }; generationsDir.copyKernels = true; + boot.loader.systemd-boot.enable = true; + /* disable grub support grub = { - enable = true; - copyKernels = true; - zfsSupport = lib.mkIf (cfg.filesystem == "zfs") true; - efiSupport = true; - efiInstallAsRemovable = true; - fsIdentifier = "uuid"; - enableCryptodisk = lib.mkIf cfg.fullDiskEncryption true; + enable = true; + copyKernels = true; + zfsSupport = lib.mkIf (cfg.filesystem == "zfs") true; + efiSupport = true; + efiInstallAsRemovable = true; + fsIdentifier = "uuid"; + enableCryptodisk = lib.mkIf cfg.fullDiskEncryption true; }; + */ }; }; -} \ No newline at end of file +}