🔧 (aurum/system) update some boot options
This commit is contained in:
parent
22483cd7c2
commit
1c12a27bc3
|
@ -1,24 +1,31 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# support for mounting windaube partitions
|
# support for mounting windaube partitions
|
||||||
boot.supportedFilesystems = ["ntfs"];
|
boot.supportedFilesystems = ["ntfs"];
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
# tmp, will be replaced by lanzaboot
|
||||||
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
||||||
# clean /tmp at each boot
|
# clean /tmp at each boot
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
|
|
||||||
# use latest kernel
|
# use latest kernel
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
# imports = [
|
# imports = [
|
||||||
# ./lanzaboot.nix
|
# ./lanzaboot.nix
|
||||||
# ];
|
# ];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod"];
|
||||||
boot.initrd.kernelModules = [];
|
boot.initrd.kernelModules = [""];
|
||||||
boot.kernelModules = ["kvm-amd" "v4l2loopback"];
|
boot.kernelModules = ["kvm-intel"];
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
boot.extraModulePackages = [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue