mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
9547123258
we'll have to do it eventually, may as well be now.
16 lines
385 B
Nix
16 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.
|
|
'';
|
|
};
|
|
};
|
|
}
|