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
nix.trustedUsers = [ "root" "me" ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# mount tmp as tmpfs
boot.tmpOnTmpfs = true;
boot = {
# use latest kernel
kernelPackages = pkgs.linuxPackages_latest;
# Use the systemd-boot EFI boot loader.
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
# mount tmp as tmpfs
tmpOnTmpfs = true;
boot.initrd.luks.devices = {
root = {
device = "/dev/nvme0n1p2";
preLVM = true;
initrd.luks.devices = {
root = {
device = "/dev/nvme0n1p2";
preLVM = true;
};
};
};