This is based on a prototype Nicolas B. Pierron worked on during a discussion we had at FOSDEM.
9 lines
157 B
Nix
9 lines
157 B
Nix
{ lib ? import <nixpkgs/lib>, modules ? [] }:
|
|
|
|
{
|
|
inherit (lib.evalModules {
|
|
inherit modules;
|
|
specialArgs.modulesPath = ./.;
|
|
}) config options;
|
|
}
|