nixconfig-yaml
This is a plugin for nixconfig to add support for
loading YAML based configuration files.
It supports files with the extensions .yaml
and .yml
.
Examples
Add both supported extensions to the standard loaders:
const nixconfig = require('nixconfig')
const config = nixconfig({
loaders: require('nixconfig-yaml')
})
Add only the .yaml
loader to the standard loaders:
const nixconfig = require('nixconfig')
const config = nixconfig({
loaders: [require('nixconfig-yaml')['.yaml']]
})