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
|
|
|
|
2013-09-04 13:05:09 +02:00
|
|
|
{ config, pkgs, ... }:
|
2009-07-08 11:10:48 +02:00
|
|
|
|
|
|
|
{
|
2013-09-04 13:05:09 +02:00
|
|
|
options = {
|
|
|
|
passthru = pkgs.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
|
|
|
}
|