Issue mounting drive with rclone on startup

I had an issues with this systemd unit: INFO+2: mount helper error: fusermount3: mount failed: Operation not permitted.

         "mac-mounting" = {
            script = "${pkgs.rclone}/bin/rclone mount --config /home/user /.config/rclone/rclone.conf --vfs-cache-mode writes --dir-cache-time 5s MacMini-dav: /home/user/Mac/";
            serviceConfig = {
              Type = "simple";
              User = "username";
            };
            wantedBy = [ "default.target" ];
          };

I fixed it by looking at this comment, I just needed to add Environment = [ "PATH=/run/wrappers/bin/:$PATH" ]; (I’m sharing this in case others have the issues).

         "mac-mounting" = {
            script = "${pkgs.rclone}/bin/rclone mount --config /home/user /.config/rclone/rclone.conf --vfs-cache-mode writes --dir-cache-time 5s MacMini-dav: /home/user/Mac/";
            serviceConfig = {
              Type = "simple";
              User = "username";
              Environment = [ "PATH=/run/wrappers/bin/:$PATH" ];
            };
            wantedBy = [ "default.target" ];
          };