20 lines
418 B
Nix
20 lines
418 B
Nix
{tree, ...}: {
|
|
boot = {
|
|
loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
initrd.availableKernelModules = [
|
|
# defaults from nixos-generate-config
|
|
"xhci_pci"
|
|
"nvme"
|
|
"usbhid"
|
|
"usb_storage"
|
|
"sd_mod"
|
|
"rtsx_pci_sdmmc"
|
|
];
|
|
kernelModules = ["kvm-intel"];
|
|
};
|
|
imports = with tree; [presets.nixos.normal-encrypted-drive];
|
|
}
|