nixpkgs/nixos/modules/misc/passthru.nix
pennae 9547123258 nixos/*: convert internal option descriptions to MD
we'll have to do it eventually, may as well be now.
2022-08-31 16:32:54 +02:00

17 lines
385 B
Nix

# This module allows you to export something from configuration
# Use case: export kernel source expression for ease of configuring
{ lib, ... }:
{
options = {
passthru = lib.mkOption {
visible = false;
description = lib.mdDoc ''
This attribute set will be exported as a system attribute.
You can put whatever you want here.
'';
};
};
}