2024-03-02 03:13:17 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
2024-02-10 06:06:43 +00:00
|
|
|
hardware.deviceTree.filter = "rk3588-rock-5b.dtb";
|
|
|
|
|
2023-12-04 23:02:43 +00:00
|
|
|
boot = {
|
2023-12-04 23:34:25 +00:00
|
|
|
loader.grub.enable = false;
|
|
|
|
loader.generic-extlinux-compatible.enable = true;
|
|
|
|
|
2024-01-16 04:36:28 +00:00
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
2023-12-04 23:02:43 +00:00
|
|
|
tmp.cleanOnBoot = true;
|
|
|
|
|
|
|
|
initrd.luks.devices.${config.networking.hostName} = {
|
|
|
|
device = "/dev/disk/by-uuid/b6b4bd3d-d7e1-463e-9a73-6d0f620e914a";
|
|
|
|
preLVM = true;
|
|
|
|
allowDiscards = true;
|
2024-03-10 20:34:30 +00:00
|
|
|
bypassWorkqueues = true;
|
2023-12-04 23:02:43 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|