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