Missing boot parameters.

This commit is contained in:
Joseph Hanson 2024-05-10 10:21:49 -05:00
parent 6241e0e1fe
commit cb43a66712
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 10 additions and 1 deletions

View file

@ -15,7 +15,6 @@
# TODO build this in from flake host names # TODO build this in from flake host names
networking.hostName = "durincore"; networking.hostName = "durincore";
fileSystems."/" = fileSystems."/" =
{ device = "rpool/root"; { device = "rpool/root";
fsType = "zfs"; fsType = "zfs";

View file

@ -3,6 +3,16 @@
with lib; with lib;
{ {
boot = { boot = {
# Use the systemd-boot EFI boot loader.
loader = {
systemd-boot = {
enable = true;
};
efi = {
canTouchEfiVariables = true;
};
};
# Kernel mods
initrd = { initrd = {
availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ]; availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
kernelModules = [ ]; kernelModules = [ ];