3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/misc/passthru.nix
2013-10-30 18:47:43 +01:00

17 lines
389 B
Nix

# This module allows you to export something from configuration
# Use case: export kernel source expression for ease of configuring
{ config, pkgs, ... }:
{
options = {
passthru = pkgs.lib.mkOption {
visible = false;
description = ''
This attribute set will be exported as a system attribute.
You can put whatever you want here.
'';
};
};
}