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