summaryrefslogtreecommitdiff
path: root/modules/virt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/virt/default.nix')
-rw-r--r--modules/virt/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/virt/default.nix b/modules/virt/default.nix
new file mode 100644
index 0000000..c5d3960
--- /dev/null
+++ b/modules/virt/default.nix
@@ -0,0 +1,19 @@
+{
+ lib,
+ config,
+ pkgs,
+ ...
+}: let
+ inherit (lib) mkEnableOption;
+ cfg = config.virt;
+in {
+ imports = [
+ ./docker.nix
+ ./qemu.nix
+ ];
+
+ options.virt = {
+ docker = mkEnableOption "Install docker and its components.";
+ qemu = mkEnableOption "Install qemu and its components.";
+ };
+}