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

13 lines
308 B
Nix
Raw Normal View History

2023-12-04 23:02:43 +00:00
{ config, pkgs, ... }: {
boot = {
kernelPackages = pkgs.linuxPackages_testing;
tmp.cleanOnBoot = true;
initrd.luks.devices.${config.networking.hostName} = {
device = "/dev/disk/by-uuid/b6b4bd3d-d7e1-463e-9a73-6d0f620e914a";
preLVM = true;
allowDiscards = true;
};
};
}