Skip to content

Instantly share code, notes, and snippets.

Created October 20, 2017 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5a2743c3157623d7ca7bb141dee505dd to your computer and use it in GitHub Desktop.
Save anonymous/5a2743c3157623d7ca7bb141dee505dd to your computer and use it in GitHub Desktop.
plugins = import ../../plugins.nix;
pluginNames = attrNames plugins;
pluginValues = attrValues plugins;
pluginList = map (name: {
name = name;
value = (getAttr name plugins) { inherit configuration pkgs lib; }; });
pluginModules = listToAttrs pluginList;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment