query
On this page

importJSON

lib.modules.importJSON

Docs pulled from | This Revision | 11 minutes ago


Use this function to import a JSON file as NixOS configuration.

modules.importJSON :: path -> attrs

Inputs

file

1. Function argument


Noogle detected

Implementation

The following is the current implementation of this function.

importJSON = file: {
    _file = file;
    config = lib.importJSON file;
  };