summary refs log tree commit diff
path: root/nixos/modules/misc/passthru.nix
blob: f3c9f6ba651bf3c510a067285b64c98160415a26 (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

{ config, 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.
      '';
    };
  };
}