Skip to content
Discussion options

You must be logged in to vote

Its an example, not something built into nixCats. Feel free to delete it from your config if you don't like it by the way.

It shows how you can use values from your packageDefintiions within your categoryDefinitions.

For example the categories set or the setting set are all things you have access to there.

In this case,

        themer = with pkgs.vimPlugins; # <- make a new category of stuff to install called themer
          (builtins.getAttr (categories.colorscheme or "onedark") { # <- we will grab categories.colorscheme from our packageDefinition
              "onedark" = onedark-nvim; # <- and we install the package corresponding with whatever was in categories.colorscheme, assuming a…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rafaeljacov
Comment options

@BirdeeHub
Comment options

Answer selected by rafaeljacov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants