diff --git a/modules/home-manager/files/mutable-files.nix b/modules/home-manager/files/mutable-files.nix index a4d0a399..039bd6c0 100644 --- a/modules/home-manager/files/mutable-files.nix +++ b/modules/home-manager/files/mutable-files.nix @@ -169,9 +169,9 @@ in in '' ( - URL=${url} - PATH=${path} - DIRNAME=$(dirname ${path}) + URL=${lib.escapeShellArg url} + FILEPATH=${lib.escapeShellArg path} + DIRNAME=$(dirname ${lib.escapeShellArg path}) mkdir -p "$DIRNAME" ${(fetchScript path value).${value.type}} )