about summary refs log tree commit diff
path: root/nixpkgs/nixos/modules/misc/passthru.nix
blob: 4e99631fdd85c5cff07ba8413194b4c8bc39d0bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This module allows you to export something from configuration
# Use case: export kernel source expression for ease of configuring

{ lib, ... }:

{
  options = {
    passthru = lib.mkOption {
      visible = false;
      description = ''
        This attribute set will be exported as a system attribute.
        You can put whatever you want here.
      '';
    };
  };
}