mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-02-04 08:16:48 +05:30
feat(canopus): add vfio kernel modules
This commit is contained in:
@@ -103,7 +103,14 @@
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
supportedFilesystems = ["ntfs"];
|
||||
|
||||
initrd.systemd = {
|
||||
initrd = {
|
||||
kernelModules = [
|
||||
"vfio_pci"
|
||||
"vfio"
|
||||
"vfio_iommu_type1"
|
||||
];
|
||||
|
||||
systemd = {
|
||||
enable = lib.mkForce true;
|
||||
|
||||
services.wipe-my-fs = {
|
||||
@@ -139,6 +146,7 @@
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
|
||||
Reference in New Issue
Block a user