mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
flake-parts/disko-configurations: init
This commit is contained in:
parent
54104720b5
commit
04f3098508
18
modules/flake-parts/disko-configurations.nix
Normal file
18
modules/flake-parts/disko-configurations.nix
Normal 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.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user