flake-parts/disko-configurations: init

This commit is contained in:
Gabriel Arazas 2024-02-27 20:54:47 +08:00
parent 54104720b5
commit 04f3098508
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -0,0 +1,18 @@
{ lib, flake-parts-lib, inputs, ... }:
{
options = {
flake = flake-parts-lib.mkSubmoduleOptions {
diskoConfigurations = lib.mkOption {
type = with lib.types; attrsOf (inputs.disko.lib.topLevel);
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 {program}`disko`. Could be useful as backup initialization
scripts for individual storage drives.
'';
};
};
};
}