summaryrefslogtreecommitdiff
path: root/modules/options/containers.nix
blob: a60f498f782a8c92cece9924568d257d26bf22f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, ... }:
with lib.options;
with lib.types;
{
  options.modules.containers = {
    engine = mkOption {
      default = "podman";

      type = types.enum [
        "podman"
        "docker"
      ];
    };

    extraOptions = mkOption {
      default = [ ];
      type = types.listOf types.str;
    };
  };
}