From f5fdee0638f03336c3fe32ddcb692ba1dbe601fa Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Wed, 13 Nov 2024 17:57:58 +0100 Subject: [PATCH] Add config for paravirtualised environments --- flake.nix | 3 +++ platform/paravirt.nix | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 platform/paravirt.nix diff --git a/flake.nix b/flake.nix index f9440d0..435c02b 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; diff --git a/platform/paravirt.nix b/platform/paravirt.nix new file mode 100644 index 0000000..346bf63 --- /dev/null +++ b/platform/paravirt.nix @@ -0,0 +1,5 @@ +{ + platformProfiles = { + paravirt = true; + }; +}