2024-02-27 12:54:47 +00:00
|
|
|
{ lib, flake-parts-lib, inputs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
flake = flake-parts-lib.mkSubmoduleOptions {
|
|
|
|
diskoConfigurations = lib.mkOption {
|
2024-11-19 12:27:46 +00:00
|
|
|
type = with lib.types; attrsOf raw;
|
2024-02-27 12:54:47 +00:00
|
|
|
default = { };
|
|
|
|
description = ''
|
|
|
|
A set of [disko](https://github.com/nix-community/disko)
|
|
|
|
configurations readily available as part of the flake output to be
|
2024-07-31 05:29:51 +00:00
|
|
|
used by {command}`disko`. Could be useful as backup initialization
|
2024-02-27 12:54:47 +00:00
|
|
|
scripts for individual storage drives.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|