Skip to content

Commit

Permalink
TODO: config.lib doesn't support sub-options
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Jan 23, 2025
1 parent 81100bf commit 759a20e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/nixvim/nixvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ in
};
};

/* FIXME:Can't declare options under the `lib` namespace, because `lib` is an option that doesn't support sub-options
options.lib.stylix.nixvim.config = lib.mkOption {
type = with lib.types; attrsOf anything;
readOnly = true;
Expand All @@ -48,6 +50,7 @@ in
See nixvim's docs on [extending a standalone configuration](https://nix-community.github.io/nixvim/modules/standalone.html#extending-an-existing-configuration).
'';
};
*/

imports = [
(lib.mkRenamedOptionModuleWith {
Expand Down

0 comments on commit 759a20e

Please sign in to comment.