mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
44 lines
708 B
Nix
Executable file
44 lines
708 B
Nix
Executable file
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
boot = {
|
|
extraModulePackages = [
|
|
config.boot.kernelPackages.v4l2loopback.out
|
|
];
|
|
supportedFilesystems = [
|
|
"ntfs"
|
|
];
|
|
initrd = {
|
|
network.openvpn.enable = true;
|
|
availableKernelModules = [
|
|
"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 = true;
|
|
};
|
|
};
|
|
}
|