Add config for paravirtualised environments

This commit is contained in:
Mikael 2024-11-13 17:57:58 +01:00
parent 3b835fe011
commit f5fdee0638
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0
2 changed files with 8 additions and 0 deletions

View file

@ -22,18 +22,21 @@
package = packageWith nixpkgs.legacyPackages.riscv64-linux;
in {
default = package { };
paravirt = package ./platform/paravirt.nix;
};
aarch64-linux = let
package = packageWith nixpkgs.legacyPackages.aarch64-linux;
in {
default = package { };
paravirt = package ./platform/paravirt.nix;
};
x86_64-linux = let
package = packageWith nixpkgs.legacyPackages.x86_64-linux;
in {
default = package { };
paravirt = package ./platform/paravirt.nix;
supermicro-h11ssw = package ./platform/supermicro-h11ssw.nix;
thinkpad-x1-extreme-gen5 = package ./platform/thinkpad-x1-extreme-gen5.nix;
};

5
platform/paravirt.nix Normal file
View file

@ -0,0 +1,5 @@
{
platformProfiles = {
paravirt = true;
};
}