Merge pull request 'drop optionsNix' (#2235) from cleanup-options into main
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
options,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -11,14 +9,4 @@
|
|||||||
"core"
|
"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`
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
(
|
(
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
options,
|
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@@ -31,16 +29,6 @@
|
|||||||
nixpkgs.pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
nixpkgs.pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||||
documentation.enable = false;
|
documentation.enable = false;
|
||||||
};
|
};
|
||||||
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`
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
options.clanImports = lib.mkOption {
|
options.clanImports = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
description = ''
|
description = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user