diff --git a/home-manager.nix b/home-manager.nix index 9a69227..2ff4864 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -19,8 +19,8 @@ let ; mount = "${pkgs.util-linux}/bin/mount"; - fusermount = "${lib.getExe' pkgs.fuse "fusermount"}" - unmountScript = mountPoint: tries: sleep: '' + fusermount = "${lib.getExe' pkgs.fuse "fusermount"}"; + unmountScript = mountPoint: tries: sleep: '' triesLeft=${toString tries} if ${mount} | grep -F ${mountPoint}' ' >/dev/null; then while (( triesLeft > 0 )); do