Do not install qemu on neelix.

This commit is contained in:
Tom Alexander
2025-01-23 21:18:57 -05:00
parent cd8e9002d0
commit 8946868fd6
3 changed files with 20 additions and 4 deletions

View File

@@ -8,7 +8,22 @@
{
imports = [ ];
environment.systemPackages = with pkgs; [
qemu
];
options.me = {
qemu.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install qemu.";
};
};
config = lib.mkIf config.me.qemu.enable (
lib.mkMerge [
{
environment.systemPackages = with pkgs; [
qemu
];
}
]
);
}