2020-04-24 23:36:52 +00:00
|
|
|
# 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;
|
2024-04-21 15:54:59 +00:00
|
|
|
description = ''
|
2020-04-24 23:36:52 +00:00
|
|
|
This attribute set will be exported as a system attribute.
|
|
|
|
You can put whatever you want here.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|