diff --git a/outputs.nix b/outputs.nix index 225823d..dd3f3ca 100644 --- a/outputs.nix +++ b/outputs.nix @@ -26,7 +26,7 @@ self = { ( # regular .nix files (type == "regular" && lib.hasSuffix ".nix" name) || # directories that contain a default.nix file - (type == "directory" && builtins.pathExists "${./hosts}/${name}/default.nix") + (type == "directory" && builtins.pathExists "${./.}/hosts/${name}/default.nix") ) # filter out files that start with . && !lib.hasPrefix "." name