module: Fix waydroid module donot use enable option, also remove unused nix code
This commit is contained in:
parent
65c921606e
commit
6ba58d5882
2 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
system,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ in {
|
|||
enable = lib.mkEnableOption "waydroid";
|
||||
};
|
||||
};
|
||||
config = {
|
||||
config = lib.mkIf cfg.enable {
|
||||
virtualisation.waydroid = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue