don't add pkgs to _module.args

This commit is contained in:
do butterflies cry? 2026-02-18 20:13:36 +10:00
parent 232837d34a
commit 18e1a2c890

View file

@ -73,7 +73,8 @@ in {
in {
# NOTE: _module.args is a special option that allows us to
# NOTE: set extend specialArgs from inside the modules.
_module.args = repos;
# WARNING: pkgs is a reserved specialArg
_module.args = removeAttrs repos ["pkgs"];
nixpkgs =
if contextName == "hosts"