18 lines
391 B
Nix
18 lines
391 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/5906e176-7ad3-41e5-bc45-ae65664eb10c";
|
|
preLVM = true;
|
|
allowDiscards = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|