mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
17 lines
383 B
Nix
17 lines
383 B
Nix
# 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.
|
|
'';
|
|
};
|
|
};
|
|
}
|