nixos/modules/virtualization/waydroid.nix

14 lines
276 B
Nix
Raw Normal View History

2024-09-06 08:01:48 +04:00
{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.virtualization.waydroid;
in
{
options.modules.virtualization.waydroid = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
virtualisation.waydroid.enable = true;
};
}