Skip to content

Instantly share code, notes, and snippets.

@mkaito
Created November 25, 2020 12:32
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 mkaito/38bad4494f558235f8bc4d5f2b1d0a14 to your computer and use it in GitHub Desktop.
Save mkaito/38bad4494f558235f8bc4d5f2b1d0a14 to your computer and use it in GitHub Desktop.
Infinite recursion
{ lib, config, ... }:
{
options = {};
config = (lib.mkMerge (lib.flip lib.mapAttrsToList config (name: icfg: {})));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment