21 lines
604 B
Nix
21 lines
604 B
Nix
{ pkgs, config, ... }: {
|
|
# 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 ];
|
|
|
|
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 ];
|
|
|
|
}
|