Fediversity/deployment/migration.nix
2025-06-23 18:57:25 +02:00

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 = { };
};
};
};
};
}