depot/third_party/nixpkgs/nixos/modules/misc/passthru.nix

17 lines
375 B
Nix
Raw Normal View History

# 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 = ''
This attribute set will be exported as a system attribute.
You can put whatever you want here.
'';
};
};
}