Switch kernel version

This commit is contained in:
Natsu Kagami 2022-03-14 13:34:32 -04:00
parent ceb77d6edf
commit 0ac4989812
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 9 additions and 5 deletions

View file

@ -15,6 +15,8 @@
../modules/personal/fonts
];
# Set kernel version to latest
boot.kernelPackages = pkgs.linuxPackages_latest;
# Use the systemd-boot EFI boot loader.
boot = {
plymouth.enable = true;

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
@ -14,18 +15,19 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/32a74827-4624-43ef-b066-b52e1f11793d";
{
device = "/dev/disk/by-uuid/32a74827-4624-43ef-b066-b52e1f11793d";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/549C-7877";
{
device = "/dev/disk/by-uuid/549C-7877";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/e08ed857-e553-4af1-9239-40f13d8ea854"; }
];
[{ device = "/dev/disk/by-uuid/e08ed857-e553-4af1-9239-40f13d8ea854"; }];
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;