From d5c0a5ff4dc3936443d6bd410c6e5f71c24f3be2 Mon Sep 17 00:00:00 2001
From: sinanmohd <sinan@sinanmohd.com>
Date: Sat, 3 Feb 2024 12:58:47 +0530
Subject: boot: move bootloader implementation to hardware-configuration

---
 hosts/kay/hardware-configuration.nix | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'hosts/kay')

diff --git a/hosts/kay/hardware-configuration.nix b/hosts/kay/hardware-configuration.nix
index 3299f3f..306e9ba 100644
--- a/hosts/kay/hardware-configuration.nix
+++ b/hosts/kay/hardware-configuration.nix
@@ -4,6 +4,11 @@
   imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
 
   boot = {
+    loader = {
+      systemd-boot.enable = true;
+      efi.canTouchEfiVariables = true;
+    };
+
     kernelModules = [ "kvm-intel" ];
     blacklistedKernelModules = [ "nouveau" ];
     initrd.availableKernelModules = [
-- 
cgit v1.2.3