disko/lib/types
Maximilian Bosch 007625baaa
Fix manual build
The option `disko.devices.lvm_vg.<name>.lvs.<name>.priority` depends on
a different option that's unset by default breaking the manual build
like this:

    … while evaluating the attribute 'optionalValue.value'

     at /nix/store/lwyjz70qh12nq6cb7fixl85vryzxqm3c-source/lib/modules.nix:856:5:

      855|
      856|     optionalValue =
         |     ^
      857|       if isDefined then { value = mergedValue; }

    … while evaluating a branch condition

     at /nix/store/lwyjz70qh12nq6cb7fixl85vryzxqm3c-source/lib/modules.nix:857:7:

      856|     optionalValue =
      857|       if isDefined then { value = mergedValue; }
         |       ^
      858|       else {};

    (stack trace truncated; use '--show-trace' to show the full trace)

    error: The option `disko.devices.lvm_vg.<name>.lvs.<name>.size' is used but not defined.

This is especially noticeable when using `documentation.nixos.includeAllModules` locally.

Fixed the issue itself by adding a `defaultText` and added the
`disko-doc` job to the `checks` output so that CI hopefully catches this
from now on.
2024-03-05 17:35:13 +01:00
..
btrfs.nix fix: create btrfs subvolume parent directories 2023-12-13 14:58:36 +00:00
disk.nix rename makeDiskImage -> makeDiskImages 2023-09-18 12:16:33 +00:00
filesystem.nix lib: better formatting of generated shell output 2023-07-04 16:02:25 +00:00
gpt.nix types gpt: hash label if it's > 36 characters 2024-03-04 14:55:56 +01:00
luks.nix luks: apply flags set in config.settings 2024-01-01 01:16:28 +00:00
lvm_pv.nix lib: better formatting of generated shell output 2023-07-04 16:02:25 +00:00
lvm_vg.nix Fix manual build 2024-03-05 17:35:13 +01:00
mdadm.nix fix: avoid external probing effects from other devices 2023-09-15 20:04:52 +00:00
mdraid.nix lib: better formatting of generated shell output 2023-07-04 16:02:25 +00:00
nodev.nix lib.types: turn _create, _mount and _config into values 2023-07-04 16:02:25 +00:00
swap.nix swap: don't activate random encrypted swap files 2023-11-25 15:47:29 +00:00
table.nix types table: add deprecation warning 2024-02-17 05:31:02 +01:00
zfs.nix lib: better formatting of generated shell output 2023-07-04 16:02:25 +00:00
zfs_fs.nix zfs: respect canmount 2024-01-01 01:09:11 +00:00
zfs_volume.nix zfs_volume: fix /dev/zvol/ symlink race 2023-09-25 08:57:40 +00:00
zpool.nix zfs: Tolerate no mountable dataset 2024-01-11 23:54:13 +00:00