Merge pull request 'drop optionsNix' (#2235) from cleanup-options into main

This commit is contained in:
clan-bot
2024-10-09 11:28:03 +00:00
2 changed files with 0 additions and 24 deletions

View File

@@ -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`
'';
};
} }

View File

@@ -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 = ''