forked from Fediversity/Fediversity
28 lines
679 B
Nix
28 lines
679 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) types mkOption;
|
|
in
|
|
{
|
|
options = {
|
|
migration = mkOption {
|
|
description = "Migration of a Fediversity deployment to a Fediversity run-time environment";
|
|
type =
|
|
with types;
|
|
submodule {
|
|
runtime-environment = mkOption {
|
|
description = "Run-time environment to migrate the deployment to";
|
|
type = lib.types.submodule ./options.nix;
|
|
# default = { };
|
|
};
|
|
deployment = mkOption {
|
|
description = "Deployment to migrate";
|
|
type = lib.types.submodule ./deployment.nix;
|
|
# default = { };
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|