Add config for paravirtualised environments
This commit is contained in:
parent
3b835fe011
commit
f5fdee0638
2 changed files with 8 additions and 0 deletions
|
@ -22,18 +22,21 @@
|
||||||
package = packageWith nixpkgs.legacyPackages.riscv64-linux;
|
package = packageWith nixpkgs.legacyPackages.riscv64-linux;
|
||||||
in {
|
in {
|
||||||
default = package { };
|
default = package { };
|
||||||
|
paravirt = package ./platform/paravirt.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
aarch64-linux = let
|
aarch64-linux = let
|
||||||
package = packageWith nixpkgs.legacyPackages.aarch64-linux;
|
package = packageWith nixpkgs.legacyPackages.aarch64-linux;
|
||||||
in {
|
in {
|
||||||
default = package { };
|
default = package { };
|
||||||
|
paravirt = package ./platform/paravirt.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
x86_64-linux = let
|
x86_64-linux = let
|
||||||
package = packageWith nixpkgs.legacyPackages.x86_64-linux;
|
package = packageWith nixpkgs.legacyPackages.x86_64-linux;
|
||||||
in {
|
in {
|
||||||
default = package { };
|
default = package { };
|
||||||
|
paravirt = package ./platform/paravirt.nix;
|
||||||
supermicro-h11ssw = package ./platform/supermicro-h11ssw.nix;
|
supermicro-h11ssw = package ./platform/supermicro-h11ssw.nix;
|
||||||
thinkpad-x1-extreme-gen5 = package ./platform/thinkpad-x1-extreme-gen5.nix;
|
thinkpad-x1-extreme-gen5 = package ./platform/thinkpad-x1-extreme-gen5.nix;
|
||||||
};
|
};
|
||||||
|
|
5
platform/paravirt.nix
Normal file
5
platform/paravirt.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
platformProfiles = {
|
||||||
|
paravirt = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue