diff --git a/home-manager.nix b/home-manager.nix index a97bb36..ca8c2df 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -344,7 +344,7 @@ in (persistentStoragePath: concatMapStrings (targetFilePath: '' - mkdir -p ${concatPaths [ persistentStoragePath (dirOf targetFilePath) ]} + mkdir -p ${escapeShellArg (concatPaths [ persistentStoragePath (dirOf targetFilePath) ])} '') cfg.${persistentStoragePath}.files) persistentStoragePaths);