diff --git a/nix-darwin/default.nix b/nix-darwin/default.nix index 007e2de38..57f7559a3 100644 --- a/nix-darwin/default.nix +++ b/nix-darwin/default.nix @@ -13,7 +13,7 @@ let lib = extendedLib; darwinConfig = config; osConfig = config; - modulesPath = ../modules; + modulesPath = builtins.toString ../modules; } // cfg.extraSpecialArgs; modules = [ ({ name, ... }: { diff --git a/nixos/default.nix b/nixos/default.nix index a94ad1422..766ce76f9 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -13,7 +13,7 @@ let lib = extendedLib; nixosConfig = config; osConfig = config; - modulesPath = ../modules; + modulesPath = builtins.toString ../modules; } // cfg.extraSpecialArgs; modules = [ ({ name, ... }: {