2009-07-08 11:10:48 +02:00
|
|
|
# This module allows you to export something from configuration
|
2011-09-14 20:20:50 +02:00
|
|
|
# Use case: export kernel source expression for ease of configuring
|
2009-07-08 11:10:48 +02:00
|
|
|
|
2018-07-20 22:56:59 +02:00
|
|
|
{ lib, ... }:
|
2009-07-08 11:10:48 +02:00
|
|
|
|
|
|
|
{
|
2013-09-04 13:05:09 +02:00
|
|
|
options = {
|
2014-05-05 20:58:51 +02:00
|
|
|
passthru = lib.mkOption {
|
2013-10-30 17:37:45 +01:00
|
|
|
visible = false;
|
2013-09-04 13:05:09 +02:00
|
|
|
description = ''
|
|
|
|
This attribute set will be exported as a system attribute.
|
|
|
|
You can put whatever you want here.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2009-07-08 11:10:48 +02:00
|
|
|
}
|