23 lines
533 B
Nix
23 lines
533 B
Nix
{ config, lib, ... }: {
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"nvme"
|
|
"rtsx_usb_sdmmc"
|
|
"sd_mod"
|
|
"usb_storage"
|
|
"xhci_pci"
|
|
];
|
|
luks.devices.root.device = "/dev/disk/by-uuid/70ac6613-2e6c-4817-a0ce-43a97efb8bab";
|
|
};
|
|
kernelModules = [ "kvm-amd" ];
|
|
kernelParams = [ "ttm.pages_limit=3014656" ];
|
|
};
|
|
fileSystems."/boot".device = "/dev/disk/by-uuid/2610-A769";
|
|
swapDevices = [
|
|
{
|
|
device = "/var/lib/swapfile";
|
|
size = 15360;
|
|
}
|
|
];
|
|
}
|