nixos-config/system/sandbar/boot-config.nix

20 lines
418 B
Nix
Raw Normal View History

2024-07-18 05:11:57 +00:00
{ config, pkgs, ... }:
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
2024-07-18 05:11:57 +00:00
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;
};
};
}