2023-12-15 15:18:36 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2023-05-16 19:10:41 +00:00
|
|
|
# support for mounting windaube partitions
|
2023-12-15 15:18:36 +00:00
|
|
|
boot.supportedFilesystems = ["ntfs"];
|
2023-05-16 19:10:41 +00:00
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
# clean /tmp at each boot
|
|
|
|
boot.tmp.cleanOnBoot = true;
|
|
|
|
|
|
|
|
# use latest kernel
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
2023-12-15 15:18:36 +00:00
|
|
|
imports = [
|
|
|
|
./lanzaboot.nix
|
|
|
|
];
|
2023-06-19 18:50:13 +00:00
|
|
|
|
2023-12-15 15:18:36 +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
|
|
|
}
|