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
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 20 additions and 4 deletions

View File

@ -327,7 +327,7 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-5DWw7GnwVZ98HUp/UUJcyUmmy9Bh/mcQB8MQQ0t3ZRo=",
"narHash": "sha256-H2OXIXbpDg2ngo92lzPLYc61QM6M/d5UyHGUCSRztzA=",
"path": "flakes/zsh-histdb",
"type": "path"
},

View File

@ -48,4 +48,5 @@
me.media.enable = true;
me.python.enable = true;
me.sway.enable = true;
me.qemu.enable = true;
}

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
];
}
]
);
}