2023-06-19 18:50:13 +00:00
|
|
|
{ pkgs, config, ... }: {
|
2023-05-16 19:10:41 +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;
|
|
|
|
|
|
|
|
imports = [ ./lanzaboot.nix ];
|
2023-06-19 18:50:13 +00:00
|
|
|
|
|
|
|
boot.initrd.availableKernelModules =
|
|
|
|
[ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "kvm-amd" "v4l2loopback" ];
|
|
|
|
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
|
|
|
|
2023-05-16 19:10:41 +00:00
|
|
|
}
|