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