NixOS-Config/hosts/detritus/system/boot/default.nix
2024-10-28 00:11:01 -04:00

18 lines
384 B
Nix

{ pkgs, ... }:
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
kernel.sysctl."vm.max_map_count" = 2147483642;
initrd = {
systemd.enable = true;
luks.devices = {
crypt-hhd = {
device = "/dev/disk/by-uuid/0ab46868-3c54-4a19-bf30-93855eac0a86";
preLVM = true;
allowDiscards = true;
};
};
};
};
}