diff options
Diffstat (limited to 'systems/odino/boot.nix')
| -rw-r--r-- | systems/odino/boot.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/systems/odino/boot.nix b/systems/odino/boot.nix new file mode 100644 index 0000000..52b2d3e --- /dev/null +++ b/systems/odino/boot.nix @@ -0,0 +1,19 @@ +{pkgs, ...}: { + boot = { + kernelPackages = pkgs.linuxPackages_6_18; # NOTE: soltanto versioni LTS per il server + kernelModules = [ "kvm-intel" ]; + kernelParams = [ "boot.shell_on_fail" ]; + + initrd = { + availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + kernelModules = [ ]; + }; + + loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + + extraModulePackages = [ ]; + }; +} |
