diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-02-03 12:58:47 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-02-03 12:58:47 +0530 |
commit | d5c0a5ff4dc3936443d6bd410c6e5f71c24f3be2 (patch) | |
tree | ed5fe0b81d92faed95bbf4bfd323b94a81d42220 /hosts/cez | |
parent | 4e20d555b2c0019cae4ec6adff89177510f2770f (diff) |
boot: move bootloader implementation to hardware-configuration
Diffstat (limited to 'hosts/cez')
-rw-r--r-- | hosts/cez/hardware-configuration.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hosts/cez/hardware-configuration.nix b/hosts/cez/hardware-configuration.nix index a1107c1..19313e5 100644 --- a/hosts/cez/hardware-configuration.nix +++ b/hosts/cez/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-amd" ]; initrd = { availableKernelModules = [ @@ -15,7 +20,8 @@ "sdhci_pci" ]; - luks.devices."crypt".device = "/dev/disk/by-uuid/84acd784-caad-41a1-a2e4-39468d01fefd"; + luks.devices."crypt".device = + "/dev/disk/by-uuid/84acd784-caad-41a1-a2e4-39468d01fefd"; }; }; |