Use latest kernel
This commit is contained in:
parent
55c93b7060
commit
740ea9631b
@ -6,18 +6,22 @@
|
|||||||
# for ihp
|
# for ihp
|
||||||
nix.trustedUsers = [ "root" "me" ];
|
nix.trustedUsers = [ "root" "me" ];
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
# use latest kernel
|
||||||
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
loader.efi.canTouchEfiVariables = true;
|
||||||
# mount tmp as tmpfs
|
# mount tmp as tmpfs
|
||||||
boot.tmpOnTmpfs = true;
|
tmpOnTmpfs = true;
|
||||||
|
|
||||||
boot.initrd.luks.devices = {
|
initrd.luks.devices = {
|
||||||
root = {
|
root = {
|
||||||
device = "/dev/nvme0n1p2";
|
device = "/dev/nvme0n1p2";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "w1n5t0n"; # Define your hostname.
|
networking.hostName = "w1n5t0n"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
Loading…
Reference in New Issue
Block a user