summary refs log blame commit diff
path: root/modules/misc/passthru.nix
blob: 5aacf507afbd16db532db3ae50bbfd2361e5b36f (plain) (tree)




















                                                                    
# This module allows you to export something from configuration
# Use case: export kernel source expression for ease of configuring 

{config, pkgs, ...}:

let 

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

in 

{
  require = options;
}