2024-03-17 18:48:49 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
options,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
2024-06-17 10:42:28 +00:00
|
|
|
imports = [
|
|
|
|
(lib.mkRenamedOptionModule [ "clanCore" ] [
|
|
|
|
"clan"
|
|
|
|
"core"
|
|
|
|
])
|
|
|
|
];
|
|
|
|
options.clan.core.optionsNix = lib.mkOption {
|
2023-09-22 12:29:25 +00:00
|
|
|
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`
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|