2024-01-15 15:50:55 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
2024-03-31 14:28:40 +00:00
|
|
|
lib,
|
2024-01-15 15:50:55 +00:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
# support for mounting windaube partitions
|
|
|
|
boot.supportedFilesystems = ["ntfs"];
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
# clean /tmp at each boot
|
|
|
|
boot.tmp.cleanOnBoot = true;
|
|
|
|
|
|
|
|
# use latest kernel
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
2024-03-31 14:28:40 +00:00
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod"];
|
|
|
|
boot.initrd.kernelModules = [""];
|
|
|
|
boot.kernelModules = ["kvm-intel"];
|
|
|
|
boot.extraModulePackages = [];
|
2024-01-15 15:50:55 +00:00
|
|
|
}
|