summaryrefslogtreecommitdiff
path: root/modules/virt/default.nix
blob: c5d39604084b5dd9061f339d95af2f68031fc37a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.";
  };
}