SP-IOV test

This commit is contained in:
Aleksandr Lebedev 2025-10-04 14:23:21 +02:00
parent 3aa32a065d
commit 965609b07a
4 changed files with 46 additions and 3 deletions

View file

@ -31,9 +31,25 @@ in
with lib.custom; {
facter.reportPath = ./facter.json;
systemd.network.wait-online.enable = lib.mkForce false; #facter
custom.hardware.hibernation = {
imports = [
"${inputs.sr-iov}/sriov.nix"
];
virtualisation.cyberus.intel-graphics-sriov.enable = true;
virtualisation.virtualbox.host = {
enable = true;
package =
(import (pkgs.fetchFromGitHub {
owner = "nixos";
repo = "nixpkgs";
rev = "0398740424de50bc851ece775b19cc5d5eb755e9";
sha256 = "sha256-ZA9s5LroljnJtU4HcGSGB2sqGcSVO3OD+qz5wo+wmlE=";
}) {inherit (pkgs) system;}).virtualbox;
enableKvm = true;
enableHardening = false;
addNetworkInterface = false;
};
custom.hardware.hibernation = {
enable = false;
swapFileOffset = 533760;
};
custom.presets.disko.impermanenceBtrfsLuks = {