forked from clan/clan-core
25 lines
454 B
Nix
25 lines
454 B
Nix
{
|
|
pkgs,
|
|
options,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
(lib.mkRenamedOptionModule [ "clanCore" ] [
|
|
"clan"
|
|
"core"
|
|
])
|
|
];
|
|
options.clan.core.optionsNix = lib.mkOption {
|
|
type = lib.types.raw;
|
|
internal = true;
|
|
readOnly = true;
|
|
default = (pkgs.nixosOptionsDoc { inherit options; }).optionsNix;
|
|
defaultText = "optionsNix";
|
|
description = ''
|
|
This is to export nixos options used for `clan config`
|
|
'';
|
|
};
|
|
}
|