Bruno BELANYI
2fb3d0f9cf
This will be more consistent in the future if I want to introduce darwin or home-manager configurations.
33 lines
529 B
Nix
33 lines
529 B
Nix
{ ... }:
|
|
{
|
|
boot = {
|
|
loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"nvme"
|
|
"sd_mod"
|
|
"sdhci_pci"
|
|
"usb_storage"
|
|
"usbhid"
|
|
"xhci_pci"
|
|
];
|
|
kernelModules = [
|
|
"dm-snapshot"
|
|
];
|
|
luks.devices.crypt = {
|
|
device = "/dev/nvme0n1p1";
|
|
preLVM = true;
|
|
};
|
|
};
|
|
|
|
kernelModules = [
|
|
"kvm-intel"
|
|
];
|
|
extraModulePackages = [ ];
|
|
};
|
|
}
|