mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
34 lines
710 B
Nix
Executable file
34 lines
710 B
Nix
Executable file
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
boot = {
|
|
extraModulePackages = [
|
|
config.boot.kernelPackages.v4l2loopback.out
|
|
];
|
|
supportedFilesystems = ["ntfs"];
|
|
initrd = {
|
|
availableKernelModules = ["amdgpu" "nvme" "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod"];
|
|
kernelModules = [];
|
|
};
|
|
|
|
kernelModules = ["kvm-amd" "vfio-pci" "v4l2loopback"];
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
loader = {
|
|
efi = {
|
|
canTouchEfiVariables = true;
|
|
efiSysMountPoint = "/boot";
|
|
};
|
|
systemd-boot.enable = false;
|
|
grub = {
|
|
enable = true;
|
|
device = "nodev";
|
|
useOSProber = true;
|
|
efiSupport = true;
|
|
};
|
|
};
|
|
};
|
|
}
|