query
On this page

importTOML

lib.modules.importTOML

Docs pulled from | This Revision | 10 minutes ago


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

modules.importTOML :: path -> attrs

Inputs

file

1. Function argument


Noogle detected

Implementation

The following is the current implementation of this function.

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