Restructure home and system modules
This commit is contained in:
parent
b86a8b50c7
commit
a03355b3a1
35 changed files with 82 additions and 82 deletions
16
modules/system/hardware/waydroid/default.nix
Normal file
16
modules/system/hardware/waydroid/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.system.hardware.waydroid;
|
||||
in
|
||||
{
|
||||
options.modules.system.hardware.waydroid = {
|
||||
enable = mkEnableOption ''
|
||||
Enable waydroid with my custom configurations
|
||||
'';
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
virtualisation.waydroid.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue