summaryrefslogtreecommitdiff
path: root/modules/options/default.nix
blob: 97afab3d7ac9aca4e92c137ea996410f667aaa37 (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 = {
    nix.extend = mkOption {
      default = true;
      type = types.bool;
    };

    server.containerEngine = mkOption {
      default = "podman";

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