nixos-config/modules/flake-parts/disko-configurations.nix

19 lines
545 B
Nix
Raw Normal View History

2024-02-27 12:54:47 +00:00
{ lib, flake-parts-lib, inputs, ... }:
{
options = {
flake = flake-parts-lib.mkSubmoduleOptions {
diskoConfigurations = lib.mkOption {
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
used by {command}`disko`. Could be useful as backup initialization
2024-02-27 12:54:47 +00:00
scripts for individual storage drives.
'';
};
};
};
}