20 lines
458 B
Nix
20 lines
458 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
kernelParams = [ "intel_iommu=on" ];
|
|
tmp.cleanOnBoot = true;
|
|
|
|
initrd.systemd.enable = true;
|
|
|
|
initrd.luks.devices."${config.networking.hostName}" = {
|
|
name = config.networking.hostName;
|
|
device = "/dev/disk/by-uuid/bc14113a-1343-44bc-9d1a-a2114fdd9763";
|
|
preLVM = true;
|
|
allowDiscards = true;
|
|
bypassWorkqueues = true;
|
|
};
|
|
};
|
|
}
|