summary refs log tree commit diff
path: root/nixos/modules/misc/passthru.nix
blob: f68adc5e8430047ce3005108a6aeca719d8f0143 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 {
      description = ''
        This attribute set will be exported as a system attribute.
        You can put whatever you want here.
      '';
    };
  };
}