waydroid module
This commit is contained in:
parent
ea33a5a5f7
commit
19d83d8e97
2 changed files with 14 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./virt-manager.nix
|
./virt-manager.nix
|
||||||
|
./waydroid.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
13
modules/virtualization/waydroid.nix
Normal file
13
modules/virtualization/waydroid.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue