nix/option/Docker.nix

20 lines
368 B
Nix

{ lib, config, ... }:
let
purpose = config.module.purpose;
in
{
options.module.docker = {
enable = lib.mkEnableOption "the docker." // {
default = purpose.work;
};
rootless = lib.mkOption {
default = false;
type = lib.types.bool;
};
autostart = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
}