lib/config: update extraArgs to _module.args

This commit is contained in:
Astro 2022-06-21 17:05:48 +02:00
parent 2eefed33b3
commit aa0ffa8aa2
1 changed files with 3 additions and 3 deletions

View File

@ -4,14 +4,14 @@
let let
result = pkgs.lib.evalModules { result = pkgs.lib.evalModules {
args = {
inherit self pkgs;
};
modules = [ modules = [
( (
{ lib, ... }: { lib, ... }:
with lib; with lib;
{ {
config._module.args = {
inherit self pkgs;
};
options.assertions = mkOption { options.assertions = mkOption {
type = with types; listOf unspecified; type = with types; listOf unspecified;
internal = true; internal = true;