Can't upgrade NixOS: "unexpected argument 'specialArgs'"

As mentioned the solution is to add an ellipsis:
{ config, lib, pkgs, options, modulesPath, ... }:

The error from a lack of an ellipsis(an expectation for modules) surfaced because of a recent change to the module system at: lib/modules: pass specialArgs to modules by Pacman99 · Pull Request #121870 · NixOS/nixpkgs · GitHub.

2 Likes