diff --git a/nixos/lib/eval-config.nix b/nixos/lib/eval-config.nix index 49b9e483ad2b..e15ec7521d8b 100644 --- a/nixos/lib/eval-config.nix +++ b/nixos/lib/eval-config.nix @@ -90,7 +90,7 @@ let You have set specialArgs.pkgs, which means that options like nixpkgs.config and nixpkgs.overlays will be ignored. If you wish to reuse an already created pkgs, which you know is configured correctly for this NixOS configuration, - please import the `nixosModules.pkgsReadOnly` module from the nixpkgs flake or + please import the `nixosModules.readOnlyPkgs` module from the nixpkgs flake or `(modulesPath + "/misc/nixpkgs/read-only.nix"), and set `{ nixpkgs.pkgs = ; }`. This properly disables the ignored options to prevent future surprises. ''