1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/modules/misc/passthru.nix

17 lines
389 B
Nix
Raw Normal View History

# 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 {
2013-10-30 12:37:45 -04:00
visible = false;
description = ''
This attribute set will be exported as a system attribute.
You can put whatever you want here.
'';
};
};
}