From fc43d7524544386993245844997fe34cf90ef922 Mon Sep 17 00:00:00 2001 From: Gavin John Date: Wed, 15 Jan 2025 11:53:42 -0800 Subject: [PATCH] nixos/lib/eval-config: fix minor typo --- nixos/lib/eval-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. ''