mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
18 lines
235 B
Nix
18 lines
235 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.system.quem;
|
|
in
|
|
{
|
|
options.my.system.quem = {
|
|
enable = lib.mkEnableOption "QEMU guest support";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.qemuGuest.enable = true;
|
|
};
|
|
}
|