diff --git a/nixos-modules/host/options.nix b/nixos-modules/host/options.nix index 5ac9d2ab..a987eb63 100644 --- a/nixos-modules/host/options.nix +++ b/nixos-modules/host/options.nix @@ -38,7 +38,7 @@ default = null; type = nullOr (lib.mkOptionType { name = "Toplevel NixOS config"; - merge = loc: defs: (import "${config.nixpkgs}/nixos/lib/eval-config.nix" { + merge = loc: defs: (import "${toString config.nixpkgs}/nixos/lib/eval-config.nix" { modules = let extraConfig = ({ lib, ... }: {