place latest kernel config in its own file
This commit is contained in:
@@ -100,6 +100,8 @@
|
|||||||
./modules/hardware/nvidia.nix
|
./modules/hardware/nvidia.nix
|
||||||
./modules/hardware/ssd.nix
|
./modules/hardware/ssd.nix
|
||||||
./modules/hardware/firmware.nix
|
./modules/hardware/firmware.nix
|
||||||
|
# use latest kernel
|
||||||
|
./modules/kernel.nix
|
||||||
./modules/nix/settings.nix
|
./modules/nix/settings.nix
|
||||||
./modules/nix/index.nix
|
./modules/nix/index.nix
|
||||||
./modules/nix/ld.nix
|
./modules/nix/ld.nix
|
||||||
|
|||||||
4
modules/kernel.nix
Normal file
4
modules/kernel.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{pkgs, ...}:
|
||||||
|
{
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
}
|
||||||
@@ -10,8 +10,6 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user