NixOS-Config/hosts/pomme/system/boot/default.nix
2024-11-12 04:25:51 -05: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-mmc = {
device = "/dev/disk/by-uuid/5bc11b61-e4dc-465c-b87a-533955cf6177";
preLVM = true;
allowDiscards = true;
};
};
};
};
}