Use latest kernel

This commit is contained in:
Valentin Brandl 2020-11-28 15:52:24 +01:00
parent 55c93b7060
commit 740ea9631b

View File

@ -6,16 +6,20 @@
# for ihp # for ihp
nix.trustedUsers = [ "root" "me" ]; nix.trustedUsers = [ "root" "me" ];
# Use the systemd-boot EFI boot loader. boot = {
boot.loader.systemd-boot.enable = true; # use latest kernel
boot.loader.efi.canTouchEfiVariables = true; kernelPackages = pkgs.linuxPackages_latest;
# mount tmp as tmpfs # Use the systemd-boot EFI boot loader.
boot.tmpOnTmpfs = true; loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
# mount tmp as tmpfs
tmpOnTmpfs = true;
boot.initrd.luks.devices = { initrd.luks.devices = {
root = { root = {
device = "/dev/nvme0n1p2"; device = "/dev/nvme0n1p2";
preLVM = true; preLVM = true;
};
}; };
}; };